@skyscanner/backpack-web 25.6.0 → 25.7.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.
|
@@ -40,15 +40,11 @@ const BpkBoilerplate = _ref => {
|
|
|
40
40
|
} = _ref,
|
|
41
41
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
42
42
|
const classNames = getClassName('bpk-boilerplate', className);
|
|
43
|
-
return (
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}, rest), {}, {
|
|
49
|
-
children: "I am an example component."
|
|
50
|
-
}))
|
|
51
|
-
);
|
|
43
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({
|
|
44
|
+
className: classNames
|
|
45
|
+
}, rest), {}, {
|
|
46
|
+
children: "I am an example component."
|
|
47
|
+
}));
|
|
52
48
|
};
|
|
53
49
|
var _default = BpkBoilerplate;
|
|
54
50
|
exports.default = _default;
|
|
@@ -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)}}@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-calendar-grid{width:100%;border-collapse:separate;border-spacing:0}.bpk-calendar-grid--animating{z-index:1;transition:transform 0.2s ease-in-out}.bpk-calendar-grid__caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-calendar-grid__date{width:100%;text-align:center}.bpk-calendar-grid__date--start{background-image:linear-gradient(to right, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__date--middle{background-color:#e0e3e5}.bpk-calendar-grid__date--end{background-image:linear-gradient(to left, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__week{display:flex;padding-top:1.5rem}
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-calendar-grid{width:100%;border-collapse:separate;border-spacing:0}.bpk-calendar-grid--animating{z-index:1;transition:transform 0.2s ease-in-out}.bpk-calendar-grid__caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-calendar-grid__date{width:100%;text-align:center}.bpk-calendar-grid__date--start{background-image:linear-gradient(to right, #fff 50%, #e0e3e5 50%)}html[dir='rtl'] .bpk-calendar-grid__date--start{background-image:linear-gradient(to left, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__date--middle{background-color:#e0e3e5}.bpk-calendar-grid__date--end{background-image:linear-gradient(to left, #fff 50%, #e0e3e5 50%)}html[dir='rtl'] .bpk-calendar-grid__date--end{background-image:linear-gradient(to right, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__week{display:flex;padding-top:1.5rem}
|
|
@@ -1,21 +1,3 @@
|
|
|
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
1
|
import type { ReactNode } from 'react';
|
|
20
2
|
export declare const HEADER_ICON_TYPES: {
|
|
21
3
|
readonly primary: "primary";
|
|
@@ -33,7 +15,7 @@ export type DialogInnerProps = {
|
|
|
33
15
|
flare?: boolean;
|
|
34
16
|
flareClassName?: string;
|
|
35
17
|
};
|
|
36
|
-
export type Props = DialogInnerProps & {
|
|
18
|
+
export type Props = Omit<DialogInnerProps, 'dialogRef'> & {
|
|
37
19
|
dialogRef?: (ref: HTMLElement | null | undefined) => void;
|
|
38
20
|
isOpen: boolean;
|
|
39
21
|
renderTarget?: () => HTMLElement | null;
|