@skyscanner/backpack-web 32.0.0 → 33.0.0-beta.1
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-accordion/src/BpkAccordionItem.js +1 -1
- package/bpk-component-banner-alert/src/AnimateAndFade.js +3 -2
- package/bpk-component-barchart/src/BpkBarchart.js +1 -1
- package/bpk-component-barchart/src/BpkBarchartBars.js +2 -2
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.js +1 -1
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarGrid.js +2 -1
- package/bpk-component-calendar/src/Week.js +1 -1
- package/bpk-component-chip/src/BpkSelectableChip.js +1 -1
- package/bpk-component-datatable/src/BpkDataTable.js +2 -1
- package/bpk-component-datatable/src/BpkDataTableHeader.js +1 -1
- package/bpk-component-flare/src/BpkFlareBar.js +1 -1
- package/bpk-component-flare/src/corner-radius.d.ts +6 -0
- package/bpk-component-flare/src/pointer.d.ts +6 -0
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +1 -0
- package/bpk-component-icon/src/withRtlSupport.js +1 -1
- package/bpk-component-image/src/BpkBackgroundImage.js +1 -0
- package/bpk-component-image/src/BpkImage.js +3 -1
- package/bpk-component-info-banner/src/AnimateAndFade.js +3 -2
- package/bpk-component-input/src/BpkInput.js +1 -1
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +1 -1
- package/bpk-component-modal/src/BpkModal.js +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +1 -1
- package/bpk-component-popover/src/BpkPopover.js +1 -1
- package/bpk-component-popover/src/BpkPopoverPortal.js +3 -3
- package/bpk-component-price/src/BpkPrice.js +1 -1
- package/bpk-component-rating/src/BpkRating.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
- package/bpk-component-slider/src/BpkSlider.js +2 -1
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +1 -1
- package/bpk-component-spinner/src/BpkLargeSpinner.js +1 -1
- package/bpk-component-spinner/src/BpkSpinner.js +1 -1
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -1
- package/bpk-component-tooltip/src/BpkTooltip.js +1 -1
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +2 -2
- package/bpk-react-utils/src/Portal.js +1 -0
- package/bpk-scrim-utils/src/withScrim.js +2 -1
- package/package.json +1 -1
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
18
|
import { Node, Element, useContext, cloneElement } from 'react';
|
|
19
19
|
import AnimateHeight from "../../bpk-animate-height";
|
|
20
|
-
import { withButtonAlignment } from "../../bpk-component-icon";
|
|
21
20
|
import ChevronDownIcon from "../../bpk-component-icon/sm/chevron-down";
|
|
22
21
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
23
22
|
import { cssModules } from "../../bpk-react-utils";
|
|
23
|
+
import { withButtonAlignment } from "../../bpk-component-icon";
|
|
24
24
|
import { BpkAccordionContext } from "./BpkAccordion";
|
|
25
25
|
import STYLES from "./BpkAccordionItem.module.css";
|
|
26
26
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
20
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
21
|
-
import { durationSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
22
|
-
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
23
21
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
|
22
|
+
|
|
23
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
24
|
+
import { durationSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
24
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
25
26
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
26
27
|
import BpkAnimateHeight from "../../bpk-animate-height";
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
|
-
import debounce from 'lodash.debounce';
|
|
19
18
|
import { Component } from 'react';
|
|
19
|
+
import debounce from 'lodash.debounce';
|
|
20
20
|
import { scaleLinear, scaleBand } from 'd3-scale';
|
|
21
21
|
import { lineHeightSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
22
22
|
import { cssModules } from "../../bpk-react-utils";
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
|
-
*/import
|
|
18
|
-
import
|
|
17
|
+
*/import PropTypes from 'prop-types';
|
|
18
|
+
import { scaleBand, scaleLinear } from 'd3-scale';
|
|
19
19
|
import { borderRadiusXs } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
20
20
|
import BpkBarchartBar from "./BpkBarchartBar";
|
|
21
21
|
import { remToPx } from "./utils";
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
import { useState } from "react";
|
|
19
19
|
import { Portal, cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import { withScrim } from "../../bpk-scrim-utils";
|
|
21
|
-
import STYLES from "./BpkBottomSheet.module.css";
|
|
22
21
|
import BpkBottomSheetInner from "./BpkBottomSheetInner";
|
|
22
|
+
import STYLES from "./BpkBottomSheet.module.css";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const ScrimBpkBottomSheetInner = withScrim(BpkBottomSheetInner);
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { useState, useEffect } from 'react';
|
|
20
20
|
import MediaQuery from "react-responsive/dist/react-responsive";
|
|
21
|
+
|
|
21
22
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
22
23
|
import { breakpoints } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -21,8 +21,9 @@ import { cssModules, isDeviceIos } from "../../bpk-react-utils";
|
|
|
21
21
|
import Week from "./Week";
|
|
22
22
|
import { addMonths, formatIsoDate, getCalendarMonthWeeks, isSameMonth } from "./date-utils";
|
|
23
23
|
import { CALENDAR_SELECTION_TYPE } from "./custom-proptypes";
|
|
24
|
-
import STYLES from "./BpkCalendarGrid.module.css";
|
|
25
24
|
import { addCalendarGridTransition } from "./BpkCalendarGridTransition";
|
|
25
|
+
import STYLES from "./BpkCalendarGrid.module.css";
|
|
26
|
+
|
|
26
27
|
// This should be imported after `./BpkCalendarGrid.module.css`.
|
|
27
28
|
// Because of how css specificity works the class `bpk-calendar-grid-transition__grid` needs to be defined
|
|
28
29
|
// after `bpk-calendar-grid` (defined by BpkCalendarGrid.module.css) so it can override width and display of the calendar
|
|
@@ -20,11 +20,11 @@ import { Component } from 'react';
|
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import { isSameDay, isSameWeek, isSameMonth, isToday, isWithinRange, startOfMonth, endOfMonth } from "./date-utils";
|
|
22
22
|
import { CALENDAR_SELECTION_TYPE } from "./custom-proptypes";
|
|
23
|
+
import { SELECTION_TYPES } from "./BpkCalendarDate";
|
|
23
24
|
// TODO: Move this to `Week.scss`
|
|
24
25
|
// This should be using its own css file as `BpkCalendarGrid` is also importing `BpkCalendarGrid.module.css`
|
|
25
26
|
// and the order of css imports can break the component.
|
|
26
27
|
import STYLES from "./BpkCalendarGrid.module.css";
|
|
27
|
-
import { SELECTION_TYPES } from "./BpkCalendarDate";
|
|
28
28
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
const shallowEqualProps = (props1, props2, propList) => {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
21
|
-
import STYLES from "./BpkSelectableChip.module.css";
|
|
22
21
|
import { CHIP_TYPES } from "./commonTypes";
|
|
22
|
+
import STYLES from "./BpkSelectableChip.module.css";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { useMemo, useState } from 'react';
|
|
20
|
+
|
|
20
21
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
21
22
|
import { useTable, useSortBy } from 'react-table';
|
|
22
23
|
import { cssModules } from "../../bpk-react-utils";
|
|
23
|
-
import STYLES from "./BpkDataTable.module.css";
|
|
24
24
|
import { SORT_DIRECTION_TYPES } from "./common-types";
|
|
25
25
|
import BpkDataTableHeader from "./BpkDataTableHeader";
|
|
26
26
|
import { createColumnsSchema } from "./utils";
|
|
27
|
+
import STYLES from "./BpkDataTable.module.css";
|
|
27
28
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
28
29
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
30
|
const getClassName = cssModules(STYLES);
|
|
@@ -22,8 +22,8 @@ import BpkSmallArrowDownIcon from "../../bpk-component-icon/sm/arrow-down";
|
|
|
22
22
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
23
23
|
import BpkSmallArrowUpIcon from "../../bpk-component-icon/sm/arrow-up";
|
|
24
24
|
import { withRtlSupport } from "../../bpk-component-icon";
|
|
25
|
-
import STYLES from "./BpkDataTableHeader.module.css";
|
|
26
25
|
import { SORT_DIRECTION_TYPES } from "./common-types";
|
|
26
|
+
import STYLES from "./BpkDataTableHeader.module.css";
|
|
27
27
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
28
28
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
29
|
const DownIcon = withRtlSupport(BpkSmallArrowDownIcon);
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
import PropTypes from 'prop-types';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./bpk-flare-bar.module.css";
|
|
22
21
|
import Pointer from "./__generated__/js/pointer";
|
|
23
22
|
import CornerRadius from "./__generated__/js/corner-radius";
|
|
23
|
+
import STYLES from "./bpk-flare-bar.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
const getClassName = cssModules(STYLES);
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/import { useEffect, useState } from 'react';
|
|
18
|
+
|
|
18
19
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
19
20
|
import { CSSTransition } from 'react-transition-group';
|
|
20
21
|
import BpkAriaLive from "../../bpk-component-aria-live";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkIcon.module.css";
|
|
21
20
|
import classNameModifierHOCFactory from "./classNameModifierHOCFactory";
|
|
21
|
+
import STYLES from "./BpkIcon.module.css";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
export default classNameModifierHOCFactory('withRtlSupport', [getClassName('bpk-icon--rtl-support')]);
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
20
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
21
21
|
import CSSTransition from 'react-transition-group/CSSTransition';
|
|
22
|
+
|
|
22
23
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
23
24
|
import { animations } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
24
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
@@ -17,15 +17,17 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
|
+
|
|
20
21
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
21
22
|
import CSSTransition from 'react-transition-group/CSSTransition';
|
|
23
|
+
|
|
22
24
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
23
25
|
import { animations } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
24
26
|
import { cssModules } from "../../bpk-react-utils";
|
|
25
27
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
26
28
|
import { BpkSpinner } from "../../bpk-component-spinner";
|
|
27
|
-
import STYLES from "./BpkImage.module.css";
|
|
28
29
|
import BORDER_RADIUS_STYLES from "./BpkImageBorderRadiusStyles";
|
|
30
|
+
import STYLES from "./BpkImage.module.css";
|
|
29
31
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
30
32
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
33
|
const getClassName = cssModules(STYLES);
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
20
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
21
|
-
import { durationSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
22
|
-
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
23
21
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
|
22
|
+
|
|
23
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
24
|
+
import { durationSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
24
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
25
26
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
26
27
|
import BpkAnimateHeight from "../../bpk-animate-height";
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import BpkClearButton from "./BpkClearButton";
|
|
22
|
-
import STYLES from "./BpkInput.module.css";
|
|
23
22
|
import { CLEAR_BUTTON_MODES, defaultProps } from "./common-types";
|
|
23
|
+
import STYLES from "./BpkInput.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
const getClassName = cssModules(STYLES);
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
|
-
import debounce from 'lodash.debounce';
|
|
19
18
|
import { Component } from 'react';
|
|
19
|
+
import debounce from 'lodash.debounce';
|
|
20
20
|
import { cssModules, isRTL } from "../../bpk-react-utils";
|
|
21
21
|
import STYLES from "./BpkMobileScrollContainer.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
import { withScrim } from "../../bpk-scrim-utils";
|
|
20
20
|
import { Portal, cssModules, isDeviceIphone } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkModal.module.css";
|
|
22
21
|
import BpkModalInner from "./BpkModalInner";
|
|
22
|
+
import STYLES from "./BpkModal.module.css";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const ScrimBpkModalInner = withScrim(BpkModalInner);
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
20
20
|
import { BpkButtonLink } from "../../bpk-component-link";
|
|
21
21
|
import { cssModules } from "../../bpk-react-utils";
|
|
22
|
-
import STYLES from "./BpkNavigationBarButtonLink.module.css";
|
|
23
22
|
import { BAR_STYLES } from "./BpkNavigationBar";
|
|
23
|
+
import STYLES from "./BpkNavigationBarButtonLink.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const BpkNavigationBarButtonLink = ({
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
20
20
|
import BpkIconButton from "../../bpk-component-close-button";
|
|
21
21
|
import { cssModules } from "../../bpk-react-utils";
|
|
22
|
-
import STYLES from "./BpkNavigationBarIconButton.module.css";
|
|
23
22
|
import { BAR_STYLES } from "./BpkNavigationBar";
|
|
23
|
+
import STYLES from "./BpkNavigationBarIconButton.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const BpkNavigationBarIconButton = ({
|
|
@@ -19,8 +19,8 @@ import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
|
19
19
|
import { BpkButtonLink } from "../../bpk-component-link";
|
|
20
20
|
import BpkCloseButton from "../../bpk-component-close-button";
|
|
21
21
|
import { TransitionInitialMount, cssModules } from "../../bpk-react-utils";
|
|
22
|
-
import STYLES from "./BpkPopover.module.css";
|
|
23
22
|
import { ARROW_ID } from "./constants";
|
|
23
|
+
import STYLES from "./BpkPopover.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
const getClassName = cssModules(STYLES);
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
|
-
*/import
|
|
18
|
-
import PropTypes from 'prop-types';
|
|
17
|
+
*/import PropTypes from 'prop-types';
|
|
19
18
|
import { Component } from 'react';
|
|
19
|
+
import { createPopper } from '@popperjs/core';
|
|
20
20
|
import focusStore from 'a11y-focus-store';
|
|
21
21
|
import { Portal, cssModules } from "../../bpk-react-utils";
|
|
22
22
|
import keyboardFocusScope from "./keyboardFocusScope";
|
|
23
|
-
import STYLES from "./BpkPopover.module.css";
|
|
24
23
|
import BpkPopover from "./BpkPopover";
|
|
24
|
+
import STYLES from "./BpkPopover.module.css";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
26
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
27
27
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
18
|
import { cssModules } from "../../bpk-react-utils";
|
|
19
19
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
20
|
-
import STYLES from "./BpkPrice.module.css";
|
|
21
20
|
import { SIZES, ALIGNS } from "./common-types";
|
|
21
|
+
import STYLES from "./BpkPrice.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
import clamp from 'lodash.clamp';
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
21
|
-
import STYLES from "./BpkRating.module.css";
|
|
22
21
|
import { RATING_SIZES, RATING_SCALES } from "./common-types";
|
|
22
|
+
import STYLES from "./BpkRating.module.css";
|
|
23
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
@@ -22,9 +22,9 @@ import { VariableSizeList as List } from 'react-window';
|
|
|
22
22
|
import AutoSizer from 'react-virtualized-auto-sizer';
|
|
23
23
|
import { cssModules } from "../../bpk-react-utils";
|
|
24
24
|
import { CALENDAR_SELECTION_TYPE, DateUtils } from "../../bpk-component-calendar";
|
|
25
|
-
import STYLES from "./BpkScrollableCalendarGridList.module.css";
|
|
26
25
|
import BpkScrollableCalendarGrid from "./BpkScrollableCalendarGrid";
|
|
27
26
|
import { getMonthsArray, getMonthItemHeights } from "./utils";
|
|
27
|
+
import STYLES from "./BpkScrollableCalendarGridList.module.css";
|
|
28
28
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
|
|
@@ -16,9 +16,10 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
import PropTypes from 'prop-types';
|
|
20
|
+
|
|
19
21
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
20
22
|
import Slider from 'react-slider';
|
|
21
|
-
import PropTypes from 'prop-types';
|
|
22
23
|
import { cssModules, isRTL } from "../../bpk-react-utils";
|
|
23
24
|
import STYLES from "./BpkSlider.module.css";
|
|
24
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -75,8 +75,8 @@ XlSpinner.defaultProps = {
|
|
|
75
75
|
viewBox: "0 0 32 32"
|
|
76
76
|
};
|
|
77
77
|
import { cssModules } from "../../bpk-react-utils";
|
|
78
|
-
import STYLES from "./BpkSpinner.module.css";
|
|
79
78
|
import SPINNER_TYPES from "./spinnerTypes";
|
|
79
|
+
import STYLES from "./BpkSpinner.module.css";
|
|
80
80
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
81
81
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
82
82
|
const getClassName = cssModules(STYLES);
|
|
@@ -75,8 +75,8 @@ LgSpinner.defaultProps = {
|
|
|
75
75
|
viewBox: "0 0 24 24"
|
|
76
76
|
};
|
|
77
77
|
import { cssModules } from "../../bpk-react-utils";
|
|
78
|
-
import STYLES from "./BpkSpinner.module.css";
|
|
79
78
|
import SPINNER_TYPES from "./spinnerTypes";
|
|
79
|
+
import STYLES from "./BpkSpinner.module.css";
|
|
80
80
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
81
81
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
82
82
|
const getClassName = cssModules(STYLES);
|
|
@@ -62,8 +62,8 @@ SmSpinner.defaultProps = {
|
|
|
62
62
|
viewBox: "0 0 16 16"
|
|
63
63
|
};
|
|
64
64
|
import { cssModules } from "../../bpk-react-utils";
|
|
65
|
-
import STYLES from "./BpkSpinner.module.css";
|
|
66
65
|
import SPINNER_TYPES from "./spinnerTypes";
|
|
66
|
+
import STYLES from "./BpkSpinner.module.css";
|
|
67
67
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
68
68
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
69
69
|
const getClassName = cssModules(STYLES);
|
|
@@ -20,9 +20,9 @@ import { Component } from 'react';
|
|
|
20
20
|
import BpkLabel from "../../bpk-component-label";
|
|
21
21
|
import BpkSelect from "../../bpk-component-select";
|
|
22
22
|
import { cssModules } from "../../bpk-react-utils";
|
|
23
|
-
import STYLES from "./BpkThemeToggle.module.css";
|
|
24
23
|
import bpkCustomThemes from "./theming";
|
|
25
24
|
import { getHtmlElement, THEME_CHANGE_EVENT } from "./utils";
|
|
25
|
+
import STYLES from "./BpkThemeToggle.module.css";
|
|
26
26
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
27
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
28
|
const inputId = 'theme-select';
|
|
@@ -23,8 +23,8 @@ The actual component that developers create (i.e. the default export from this p
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import { TransitionInitialMount, cssModules } from "../../bpk-react-utils";
|
|
26
|
-
import STYLES from "./BpkTooltip.module.css";
|
|
27
26
|
import { ARROW_ID, TOOLTIP_TYPES } from "./constants";
|
|
27
|
+
import STYLES from "./BpkTooltip.module.css";
|
|
28
28
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
29
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
30
|
const getClassName = cssModules(STYLES);
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import { createPopper } from '@popperjs/core';
|
|
20
19
|
import { cloneElement, Component } from 'react';
|
|
20
|
+
import { createPopper } from '@popperjs/core';
|
|
21
21
|
import { Portal, cssModules } from "../../bpk-react-utils";
|
|
22
22
|
import BpkTooltip from "./BpkTooltip";
|
|
23
|
-
import STYLES from "./BpkTooltip.module.css";
|
|
24
23
|
import { TOOLTIP_TYPES } from "./constants";
|
|
24
|
+
import STYLES from "./BpkTooltip.module.css";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
26
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
27
27
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { Component } from 'react';
|
|
20
20
|
import { createPortal } from 'react-dom';
|
|
21
|
+
|
|
21
22
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
22
23
|
import assign from 'object-assign';
|
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -16,11 +16,12 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
import { Component } from 'react';
|
|
20
|
+
|
|
19
21
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
20
22
|
import focusScope from 'a11y-focus-scope';
|
|
21
23
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
22
24
|
import focusStore from 'a11y-focus-store';
|
|
23
|
-
import { Component } from 'react';
|
|
24
25
|
import { cssModules, isDeviceIpad, isDeviceIphone, wrapDisplayName } from "../../bpk-react-utils";
|
|
25
26
|
import BpkScrim from "./BpkScrim";
|
|
26
27
|
import { fixBody, lockScroll, restoreScroll, storeScroll, unfixBody, unlockScroll } from "./scroll-utils";
|