@skyscanner/backpack-web 25.1.0 → 25.3.0
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/bpk-component-badge/src/BpkBadge.js +4 -4
- package/bpk-component-breakpoint/index.d.ts +21 -0
- package/bpk-component-breakpoint/src/BpkBreakpoint.d.ts +39 -0
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +18 -24
- package/bpk-component-button/src/BpkButtonV2/BpkButton.js +7 -7
- package/bpk-component-calendar/index.d.ts +4 -1
- package/bpk-component-calendar/src/BpkCalendarContainer.d.ts +15 -7
- package/bpk-component-calendar/src/BpkCalendarContainer.js +4 -2
- package/bpk-component-calendar/src/BpkCalendarDate.d.ts +12 -12
- package/bpk-component-calendar/src/BpkCalendarGrid.d.ts +4 -4
- package/bpk-component-calendar/src/BpkCalendarGridHeader.d.ts +1 -1
- package/bpk-component-calendar/src/Week.d.ts +9 -9
- package/bpk-component-calendar/src/Week.js +2 -2
- package/bpk-component-card/src/BpkCardWrapper.module.css +1 -1
- package/bpk-component-card/src/BpkDividedCard.js +3 -3
- package/bpk-component-chip/src/BpkDismissibleChip.js +3 -3
- package/bpk-component-chip/src/BpkSelectableChip.js +7 -7
- package/bpk-component-datepicker/index.d.ts +23 -0
- package/bpk-component-datepicker/src/BpkDatepicker.d.ts +533 -0
- package/bpk-component-datepicker/src/BpkDatepicker.js +9 -46
- package/bpk-component-datepicker/src/themeAttributes.js +1 -0
- package/bpk-component-image/index.d.ts +27 -0
- package/bpk-component-image/src/BpkBackgroundImage.d.ts +50 -0
- package/bpk-component-image/src/BpkBackgroundImage.js +4 -16
- package/bpk-component-image/src/BpkImage.d.ts +48 -0
- package/bpk-component-image/src/BpkImage.js +10 -36
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.d.ts +23 -0
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +3 -1
- package/bpk-component-image/src/withLazyLoading.d.ts +73 -0
- package/bpk-component-image/src/withLazyLoading.js +18 -28
- package/bpk-component-image/src/withLoadingBehavior.d.ts +57 -0
- package/bpk-component-image/src/withLoadingBehavior.js +3 -2
- package/bpk-component-input/index.d.ts +2 -16
- package/bpk-component-input/src/BpkClearButton.d.ts +5 -9
- package/bpk-component-input/src/BpkInput.d.ts +16 -21
- package/bpk-component-input/src/common-types.d.ts +3 -6
- package/bpk-component-input/src/common-types.js +0 -1
- package/bpk-component-input/src/withOpenEvents.d.ts +56 -97
- package/bpk-component-input/src/withOpenEvents.js +0 -1
- package/bpk-component-modal/src/BpkModal.js +13 -13
- package/bpk-component-modal/src/BpkModalInner.js +10 -10
- package/bpk-component-radio/src/BpkRadio.module.css +1 -1
- package/bpk-component-scrollable-calendar/index.d.ts +25 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.d.ts +596 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.d.ts +32 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +21 -28
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.d.ts +29 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +8 -7
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.d.ts +56 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +8 -15
- package/bpk-component-scrollable-calendar/src/utils.d.ts +21 -0
- package/bpk-component-scrollable-calendar/src/utils.js +1 -1
- package/bpk-component-scrollable-calendar/test-utils.d.ts +52 -0
- package/bpk-component-scrollable-calendar/test-utils.js +2 -2
- package/bpk-component-text/src/BpkText.js +4 -4
- package/bpk-scrim-utils/src/withScrim.js +33 -31
- package/package.json +4 -4
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import
|
|
20
|
-
import type { SyntheticEvent } from 'react';
|
|
19
|
+
import PropTypes from 'prop-types';
|
|
20
|
+
import type { ComponentProps, SyntheticEvent } from 'react';
|
|
21
21
|
export declare const CLEAR_BUTTON_MODES: {
|
|
22
22
|
readonly never: "never";
|
|
23
23
|
readonly whileEditing: "whileEditing";
|
|
@@ -30,12 +30,11 @@ export declare const INPUT_TYPES: {
|
|
|
30
30
|
readonly password: "password";
|
|
31
31
|
readonly tel: "tel";
|
|
32
32
|
};
|
|
33
|
-
type BaseProps = {
|
|
33
|
+
type BaseProps = ComponentProps<'input'> & {
|
|
34
34
|
id: string;
|
|
35
35
|
name: string;
|
|
36
36
|
value: string;
|
|
37
37
|
type?: typeof INPUT_TYPES[keyof typeof INPUT_TYPES];
|
|
38
|
-
className?: string | null;
|
|
39
38
|
valid?: boolean | null;
|
|
40
39
|
large?: boolean;
|
|
41
40
|
docked?: boolean;
|
|
@@ -43,7 +42,6 @@ type BaseProps = {
|
|
|
43
42
|
dockedMiddle?: boolean;
|
|
44
43
|
dockedLast?: boolean;
|
|
45
44
|
inputRef?: ((ref: HTMLInputElement) => void) | null;
|
|
46
|
-
[rest: string]: any;
|
|
47
45
|
};
|
|
48
46
|
export type PropsWithoutClearButonMode = BaseProps & {
|
|
49
47
|
clearButtonMode?: 'never';
|
|
@@ -76,7 +74,6 @@ export declare const propTypes: {
|
|
|
76
74
|
};
|
|
77
75
|
export declare const defaultProps: {
|
|
78
76
|
type: "text";
|
|
79
|
-
className: null;
|
|
80
77
|
valid: null;
|
|
81
78
|
large: boolean;
|
|
82
79
|
docked: boolean;
|
|
@@ -16,106 +16,65 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import type { ComponentType, ReactElement, UIEvent } from 'react';
|
|
20
|
-
|
|
19
|
+
import type { ComponentType, ReactElement, UIEvent, ComponentProps } from 'react';
|
|
21
20
|
type WithOpenEventsProps = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
isOpen?: boolean;
|
|
22
|
+
onOpen?: () => void;
|
|
23
|
+
hasTouchSupport?: boolean;
|
|
25
24
|
};
|
|
26
|
-
type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
type EventHandlers = {
|
|
26
|
+
onClick?: (event: UIEvent) => void;
|
|
27
|
+
onFocus?: (event: UIEvent) => void;
|
|
28
|
+
onBlur?: (event: UIEvent) => void;
|
|
29
|
+
onTouchEnd?: (event: UIEvent) => void;
|
|
30
|
+
onKeyDown?: (event: UIEvent) => void;
|
|
31
|
+
onKeyUp?: (event: UIEvent) => void;
|
|
32
|
+
readOnly?: string;
|
|
33
|
+
'aria-readonly'?: boolean;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
35
|
+
type InputProps = ComponentProps<'input'> & Omit<EventHandlers, 'readOnly' | 'aria-readonly'>;
|
|
36
|
+
declare const withOpenEvents: <P extends object>(InputComponent: ComponentType<P>) => {
|
|
37
|
+
new (props: P & WithOpenEventsProps & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly">): {
|
|
38
|
+
focusCanOpen: boolean;
|
|
39
|
+
handleTouchEnd: (event: UIEvent) => void;
|
|
40
|
+
handleFocus: () => void;
|
|
41
|
+
handleBlur: () => void;
|
|
42
|
+
render(): ReactElement;
|
|
43
|
+
context: any;
|
|
44
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
45
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
46
|
+
readonly props: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps> & Readonly<{
|
|
47
|
+
children?: import("react").ReactNode;
|
|
48
|
+
}>;
|
|
49
|
+
state: Readonly<{}>;
|
|
50
|
+
refs: {
|
|
51
|
+
[key: string]: import("react").ReactInstance;
|
|
52
|
+
};
|
|
53
|
+
componentDidMount?(): void;
|
|
54
|
+
shouldComponentUpdate?(nextProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
55
|
+
componentWillUnmount?(): void;
|
|
56
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
57
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, prevState: Readonly<{}>): any;
|
|
58
|
+
componentDidUpdate?(prevProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
59
|
+
componentWillMount?(): void;
|
|
60
|
+
UNSAFE_componentWillMount?(): void;
|
|
61
|
+
componentWillReceiveProps?(nextProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, nextContext: any): void;
|
|
62
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, nextContext: any): void;
|
|
63
|
+
componentWillUpdate?(nextProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
64
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
65
|
+
};
|
|
66
|
+
displayName: string;
|
|
67
|
+
defaultProps: {
|
|
68
|
+
isOpen: boolean;
|
|
69
|
+
hasTouchSupport: boolean;
|
|
70
|
+
onOpen: null;
|
|
71
|
+
onClick: null;
|
|
72
|
+
onFocus: null;
|
|
73
|
+
onBlur: null;
|
|
74
|
+
onTouchEnd: null;
|
|
75
|
+
onKeyDown: null;
|
|
76
|
+
onKeyUp: null;
|
|
64
77
|
};
|
|
65
|
-
|
|
66
|
-
shouldComponentUpdate?(
|
|
67
|
-
nextProps: Readonly<P & WithOpenEventsProps>,
|
|
68
|
-
nextState: Readonly<{}>,
|
|
69
|
-
nextContext: any,
|
|
70
|
-
): boolean;
|
|
71
|
-
componentWillUnmount?(): void;
|
|
72
|
-
componentDidCatch?(
|
|
73
|
-
error: Error,
|
|
74
|
-
errorInfo: import('react').ErrorInfo,
|
|
75
|
-
): void;
|
|
76
|
-
getSnapshotBeforeUpdate?(
|
|
77
|
-
prevProps: Readonly<P & WithOpenEventsProps>,
|
|
78
|
-
prevState: Readonly<{}>,
|
|
79
|
-
): any;
|
|
80
|
-
componentDidUpdate?(
|
|
81
|
-
prevProps: Readonly<P & WithOpenEventsProps>,
|
|
82
|
-
prevState: Readonly<{}>,
|
|
83
|
-
snapshot?: any,
|
|
84
|
-
): void;
|
|
85
|
-
componentWillMount?(): void;
|
|
86
|
-
UNSAFE_componentWillMount?(): void;
|
|
87
|
-
componentWillReceiveProps?(
|
|
88
|
-
nextProps: Readonly<P & WithOpenEventsProps>,
|
|
89
|
-
nextContext: any,
|
|
90
|
-
): void;
|
|
91
|
-
UNSAFE_componentWillReceiveProps?(
|
|
92
|
-
nextProps: Readonly<P & WithOpenEventsProps>,
|
|
93
|
-
nextContext: any,
|
|
94
|
-
): void;
|
|
95
|
-
componentWillUpdate?(
|
|
96
|
-
nextProps: Readonly<P & WithOpenEventsProps>,
|
|
97
|
-
nextState: Readonly<{}>,
|
|
98
|
-
nextContext: any,
|
|
99
|
-
): void;
|
|
100
|
-
UNSAFE_componentWillUpdate?(
|
|
101
|
-
nextProps: Readonly<P & WithOpenEventsProps>,
|
|
102
|
-
nextState: Readonly<{}>,
|
|
103
|
-
nextContext: any,
|
|
104
|
-
): void;
|
|
105
|
-
};
|
|
106
|
-
displayName: string;
|
|
107
|
-
defaultProps: {
|
|
108
|
-
isOpen: boolean;
|
|
109
|
-
hasTouchSupport: boolean;
|
|
110
|
-
onOpen: null;
|
|
111
|
-
className: null;
|
|
112
|
-
onClick: null;
|
|
113
|
-
onFocus: null;
|
|
114
|
-
onBlur: null;
|
|
115
|
-
onTouchEnd: null;
|
|
116
|
-
onKeyDown: null;
|
|
117
|
-
onKeyUp: null;
|
|
118
|
-
};
|
|
119
|
-
contextType?: import('react').Context<any> | undefined;
|
|
78
|
+
contextType?: import("react").Context<any> | undefined;
|
|
120
79
|
};
|
|
121
80
|
export default withOpenEvents;
|
|
@@ -9,7 +9,7 @@ var _bpkReactUtils = require("../../bpk-react-utils");
|
|
|
9
9
|
var _BpkModalModule = _interopRequireDefault(require("./BpkModal.module.css"));
|
|
10
10
|
var _BpkModalInner = _interopRequireDefault(require("./BpkModalInner"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
const _excluded = ["
|
|
12
|
+
const _excluded = ["accessoryView", "className", "closeLabel", "closeOnEscPressed", "closeOnScrimClick", "closeText", "contentClassName", "dialogRef", "fullScreen", "fullScreenOnMobile", "isIphone", "isOpen", "onClose", "padded", "renderTarget", "showHeader", "title", "wide"];
|
|
13
13
|
/*
|
|
14
14
|
* Backpack - Skyscanner's Design System
|
|
15
15
|
*
|
|
@@ -39,24 +39,24 @@ const getClassName = (0, _bpkReactUtils.cssModules)(_BpkModalModule.default);
|
|
|
39
39
|
const ScrimBpkModalInner = (0, _bpkScrimUtils.withScrim)(_BpkModalInner.default);
|
|
40
40
|
const BpkModal = _ref => {
|
|
41
41
|
let {
|
|
42
|
-
|
|
43
|
-
onClose = () => null,
|
|
42
|
+
accessoryView = null,
|
|
44
43
|
className = null,
|
|
45
|
-
contentClassName = null,
|
|
46
44
|
closeLabel = '',
|
|
45
|
+
closeOnEscPressed = true,
|
|
46
|
+
closeOnScrimClick = true,
|
|
47
47
|
closeText = null,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
fullScreenOnMobile = true,
|
|
48
|
+
contentClassName = null,
|
|
49
|
+
dialogRef = () => null,
|
|
51
50
|
fullScreen = false,
|
|
51
|
+
fullScreenOnMobile = true,
|
|
52
|
+
isIphone = (0, _bpkReactUtils.isDeviceIphone)(),
|
|
53
|
+
isOpen,
|
|
54
|
+
onClose = () => null,
|
|
52
55
|
padded = true,
|
|
53
|
-
accessoryView = null,
|
|
54
56
|
renderTarget = null,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
dialogRef = () => null,
|
|
59
|
-
isOpen
|
|
57
|
+
showHeader = true,
|
|
58
|
+
title = null,
|
|
59
|
+
wide = false
|
|
60
60
|
} = _ref,
|
|
61
61
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
62
62
|
const containerClass = [getClassName('bpk-modal__container')];
|
|
@@ -37,22 +37,22 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
37
37
|
|
|
38
38
|
const getClassName = (0, _bpkReactUtils.cssModules)(_BpkModalInnerModule.default);
|
|
39
39
|
const BpkModalInner = ({
|
|
40
|
-
|
|
41
|
-
id,
|
|
42
|
-
dialogRef,
|
|
40
|
+
accessoryView = null,
|
|
43
41
|
children,
|
|
44
|
-
title = null,
|
|
45
|
-
onClose = () => null,
|
|
46
42
|
className = null,
|
|
47
|
-
contentClassName = null,
|
|
48
43
|
closeLabel = '',
|
|
49
44
|
closeText = null,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
fullScreenOnMobile = true,
|
|
45
|
+
contentClassName = null,
|
|
46
|
+
dialogRef,
|
|
53
47
|
fullScreen = false,
|
|
48
|
+
fullScreenOnMobile = true,
|
|
49
|
+
id,
|
|
50
|
+
isIphone,
|
|
51
|
+
onClose = () => null,
|
|
54
52
|
padded = true,
|
|
55
|
-
|
|
53
|
+
showHeader = true,
|
|
54
|
+
title = null,
|
|
55
|
+
wide = false
|
|
56
56
|
}) => {
|
|
57
57
|
const classNames = [getClassName('bpk-modal')];
|
|
58
58
|
const contentClassNames = [getClassName('bpk-modal__content')];
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-radio{position:relative;display:inline-block;padding-left:1.75rem}html[dir='rtl'] .bpk-radio{padding-right:1.75rem;padding-left:0}.bpk-radio--white{color:#fff}.bpk-radio--white input[type='radio']{background:#fff}.bpk-radio--disabled{color:rgba(0,0,0,0.2);cursor:not-allowed}.bpk-radio--disabled--white{color:rgba(255,255,255,0.5)}.bpk-radio--invalid input[type='radio']{border:3px solid #e70866;border-radius:1.
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-radio{position:relative;display:inline-block;padding-left:1.75rem}html[dir='rtl'] .bpk-radio{padding-right:1.75rem;padding-left:0}.bpk-radio--white{color:#fff}.bpk-radio--white input[type='radio']{background:#fff}.bpk-radio--disabled{color:rgba(0,0,0,0.2);cursor:not-allowed}.bpk-radio--disabled--white{color:rgba(255,255,255,0.5)}.bpk-radio--invalid input[type='radio']{border:3px solid #e70866;border-radius:1.5rem}.bpk-radio__input{position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;margin:0;padding:0;cursor:pointer;vertical-align:text-bottom;appearance:none;border:3px solid #545860;border-radius:1.5rem}html[dir='rtl'] .bpk-radio__input{right:0;left:auto}@media screen\0 {.bpk-radio__input{background:none !important}}.bpk-radio__input:checked{border-color:#0062e3;border-color:var(--bpk-radio-checked-color, #0062e3)}.bpk-radio__input:checked:disabled{border-color:rgba(0,0,0,0.2)}.bpk-radio__input:disabled{border-color:rgba(0,0,0,0.2)}.bpk-radio__input:disabled{cursor:inherit}.bpk-radio__input:checked+.bpk-radio__circle{display:block}.bpk-radio__input:checked:disabled+.bpk-radio__circle{display:block;background:rgba(0,0,0,0.2)}.bpk-radio__circle{position:absolute;top:0.375rem;left:0.375rem;display:none;width:.5rem;height:.5rem;border-radius:50%;background:#0062e3;background:var(--bpk-radio-checked-color, #0062e3)}html[dir='rtl'] .bpk-radio__circle{right:0.375rem;left:auto}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Backpack - Skyscanner's Design System
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2016 Skyscanner Ltd
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import { CALENDAR_SELECTION_TYPE } from '../bpk-component-calendar';
|
|
20
|
+
import BpkScrollableCalendar from './src/BpkScrollableCalendar';
|
|
21
|
+
import BpkScrollableCalendarDate from './src/BpkScrollableCalendarDate';
|
|
22
|
+
import BpkScrollableCalendarGrid from './src/BpkScrollableCalendarGrid';
|
|
23
|
+
import BpkScrollableCalendarGridList from './src/BpkScrollableCalendarGridList';
|
|
24
|
+
export default BpkScrollableCalendar;
|
|
25
|
+
export { CALENDAR_SELECTION_TYPE, BpkScrollableCalendarDate, BpkScrollableCalendarGrid, BpkScrollableCalendarGridList, };
|