@skyscanner/backpack-web 6.0.0-alpha.1 → 6.1.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-animate-height/package.json +2 -2
- package/bpk-component-accordion/package.json +6 -6
- package/bpk-component-accordion/src/BpkAccordion.js +1 -0
- package/bpk-component-accordion/src/BpkAccordionItem.js +1 -0
- package/bpk-component-accordion/src/withAccordionItemState.js +1 -0
- package/bpk-component-accordion/src/withSingleItemAccordionState.js +1 -0
- package/bpk-component-aria-live/package.json +7 -7
- package/bpk-component-aria-live/src/BpkAriaLive.js +1 -0
- package/bpk-component-autosuggest/package.json +4 -4
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +2 -1
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +1 -0
- package/bpk-component-badge/package.json +4 -4
- package/bpk-component-badge/src/BpkBadge.js +1 -0
- package/bpk-component-banner-alert/package.json +8 -8
- package/bpk-component-banner-alert/src/AnimateAndFade.js +3 -2
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +2 -1
- package/bpk-component-banner-alert/src/withBannerAlertState.js +1 -0
- package/bpk-component-barchart/data.json +0 -82
- package/bpk-component-barchart/package.json +7 -7
- package/bpk-component-barchart/src/BpkBarchart.js +1 -0
- package/bpk-component-barchart/src/BpkBarchartBar.js +2 -1
- package/bpk-component-barchart/src/BpkChartAxis.js +2 -1
- package/bpk-component-barchart/src/BpkChartDataTable.js +1 -0
- package/bpk-component-barchart/src/BpkChartGridLines.js +1 -0
- package/bpk-component-blockquote/package.json +2 -2
- package/bpk-component-blockquote/src/BpkBlockquote.js +1 -0
- package/bpk-component-breadcrumb/package.json +5 -5
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +1 -0
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +1 -0
- package/bpk-component-breakpoint/package.json +2 -2
- package/bpk-component-button/package.json +2 -2
- package/bpk-component-button/src/BpkButtonBase.module.css +1 -1
- package/bpk-component-button/src/BpkButtonDestructive.module.css +1 -1
- package/bpk-component-button/src/BpkButtonFeatured.module.css +1 -1
- package/bpk-component-button/src/BpkButtonLink.module.css +1 -1
- package/bpk-component-button/src/BpkButtonSecondary.module.css +1 -1
- package/bpk-component-calendar/package.json +8 -8
- package/bpk-component-calendar/src/BpkCalendarContainer.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarDate.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarGrid.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +1 -0
- package/bpk-component-calendar/src/BpkCalendarNav.js +1 -0
- package/bpk-component-calendar/src/Week.js +1 -0
- package/bpk-component-calendar/src/composeCalendar.js +1 -0
- package/bpk-component-card/package.json +4 -4
- package/bpk-component-card/src/BpkCard.js +1 -0
- package/bpk-component-checkbox/package.json +4 -4
- package/bpk-component-checkbox/src/BpkCheckbox.js +1 -0
- package/bpk-component-chip/package.json +5 -5
- package/bpk-component-chip/src/BpkDismissibleChip.js +1 -0
- package/bpk-component-chip/src/BpkSelectableChip.js +1 -0
- package/bpk-component-close-button/package.json +4 -4
- package/bpk-component-close-button/src/BpkCloseButton.js +1 -0
- package/bpk-component-code/package.json +2 -2
- package/bpk-component-code/src/BpkCode.js +1 -0
- package/bpk-component-code/src/BpkCodeBlock.js +1 -0
- package/bpk-component-content-container/package.json +2 -2
- package/bpk-component-content-container/src/BpkContentContainer.js +1 -0
- package/bpk-component-content-container/src/BpkContentContainer.module.css +1 -1
- package/bpk-component-datatable/package.json +3 -3
- package/bpk-component-datatable/src/BpkDataTable.js +2 -1
- package/bpk-component-datatable/src/BpkDataTableColumn.js +1 -0
- package/bpk-component-datatable/src/bpkHeaderRenderer.js +1 -0
- package/bpk-component-datepicker/package.json +8 -8
- package/bpk-component-datepicker/src/BpkDatepicker.js +3 -2
- package/bpk-component-description-list/package.json +2 -2
- package/bpk-component-description-list/src/ComponentFactory.js +1 -0
- package/bpk-component-dialog/package.json +8 -8
- package/bpk-component-dialog/src/BpkDialog.js +1 -0
- package/bpk-component-dialog/src/BpkDialogInner.js +1 -0
- package/bpk-component-dialog/src/BpkDialogInner.module.css +1 -1
- package/bpk-component-drawer/package.json +8 -8
- package/bpk-component-drawer/src/BpkDrawer.js +1 -0
- package/bpk-component-drawer/src/BpkDrawerContent.js +1 -0
- package/bpk-component-drawer/src/BpkDrawerContent.module.css +1 -1
- package/bpk-component-fieldset/package.json +12 -12
- package/bpk-component-fieldset/src/BpkFieldset.js +1 -0
- package/bpk-component-flare/package.json +4 -4
- package/bpk-component-flare/src/BpkContentBubble.js +1 -0
- package/bpk-component-flare/src/BpkFlareBar.js +1 -0
- package/bpk-component-flare/src/bpk-flare-bar.module.css +1 -1
- package/bpk-component-floating-notification/package.json +5 -4
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +4 -1
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +1 -1
- package/bpk-component-form-validation/package.json +9 -9
- package/bpk-component-form-validation/src/BpkFormValidation.js +5 -4
- package/bpk-component-graphic-promotion/package.json +4 -4
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +1 -0
- package/bpk-component-grid/package.json +2 -2
- package/bpk-component-grid/src/BpkGridColumn.js +1 -0
- package/bpk-component-grid/src/BpkGridColumn.module.css +1 -1
- package/bpk-component-grid/src/BpkGridContainer.js +1 -0
- package/bpk-component-grid/src/BpkGridContainer.module.css +1 -1
- package/bpk-component-grid/src/BpkGridRow.js +1 -0
- package/bpk-component-grid/src/BpkGridRow.module.css +1 -1
- package/bpk-component-grid-toggle/package.json +3 -3
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -0
- package/bpk-component-horizontal-nav/package.json +5 -5
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +8 -12
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +1 -0
- package/bpk-component-icon/package.json +5 -5
- package/bpk-component-icon/src/BpkIcon.module.css +1 -1
- package/bpk-component-icon/src/classNameModifierHOCFactory.js +1 -0
- package/bpk-component-icon/src/withAlignment.js +1 -0
- package/bpk-component-icon/src/withDescription.js +1 -0
- package/bpk-component-image/package.json +5 -5
- package/bpk-component-image/src/BpkBackgroundImage.js +3 -2
- package/bpk-component-image/src/BpkImage.js +3 -2
- package/bpk-component-image/src/withLazyLoading.js +2 -1
- package/bpk-component-image/src/withLoadingBehavior.js +1 -0
- package/bpk-component-infinite-scroll/package.json +6 -6
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +2 -1
- package/bpk-component-input/package.json +6 -6
- package/bpk-component-input/src/BpkClearButton.js +1 -0
- package/bpk-component-input/src/BpkInput.js +1 -0
- package/bpk-component-input/src/withOpenEvents.js +1 -0
- package/bpk-component-label/package.json +2 -2
- package/bpk-component-label/src/BpkLabel.js +1 -0
- package/bpk-component-link/package.json +3 -3
- package/bpk-component-link/src/BpkButtonLink.js +1 -0
- package/bpk-component-link/src/BpkLink.js +1 -0
- package/bpk-component-list/package.json +2 -2
- package/bpk-component-list/src/BpkList.js +1 -0
- package/bpk-component-list/src/BpkList.module.css +1 -1
- package/bpk-component-list/src/BpkListItem.js +1 -0
- package/bpk-component-loading-button/package.json +6 -6
- package/bpk-component-loading-button/src/BpkLoadingButton.js +1 -0
- package/bpk-component-map/package.json +6 -6
- package/bpk-component-map/src/BpkIconMarker.js +1 -0
- package/bpk-component-map/src/BpkIconMarkerBackground.js +1 -0
- package/bpk-component-map/src/BpkMap.js +2 -1
- package/bpk-component-map/src/BpkPriceMarker.js +1 -0
- package/bpk-component-map/src/DefaultLoadingElement.js +1 -0
- package/bpk-component-mobile-scroll-container/package.json +2 -2
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +1 -0
- package/bpk-component-modal/package.json +9 -9
- package/bpk-component-modal/src/BpkModal.js +1 -0
- package/bpk-component-modal/src/BpkModal.module.css +1 -1
- package/bpk-component-modal/src/BpkModalInner.js +2 -1
- package/bpk-component-modal/src/BpkModalInner.module.css +1 -1
- package/bpk-component-navigation-bar/package.json +7 -7
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +1 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +1 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +1 -0
- package/bpk-component-navigation-stack/package.json +6 -6
- package/bpk-component-navigation-stack/src/BpkNavigationStack.js +2 -1
- package/bpk-component-nudger/package.json +6 -6
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +1 -0
- package/bpk-component-nudger/src/BpkNudger.js +1 -0
- package/bpk-component-nudger/src/BpkNudger.module.css +1 -1
- package/bpk-component-overlay/package.json +4 -4
- package/bpk-component-overlay/src/BpkOverlay.js +1 -0
- package/bpk-component-pagination/package.json +4 -4
- package/bpk-component-pagination/src/BpkPagination.js +1 -0
- package/bpk-component-pagination/src/BpkPaginationList.js +1 -0
- package/bpk-component-pagination/src/BpkPaginationNudger.js +1 -0
- package/bpk-component-pagination/src/BpkPaginationPage.js +2 -1
- package/bpk-component-pagination/src/BpkPaginationPage.module.css +1 -1
- package/bpk-component-panel/package.json +2 -2
- package/bpk-component-panel/src/BpkPanel.js +1 -0
- package/bpk-component-phone-input/package.json +8 -8
- package/bpk-component-phone-input/src/BpkPhoneInput.js +1 -0
- package/bpk-component-phone-input/src/BpkPhoneInput.module.css +1 -1
- package/bpk-component-popover/package.json +8 -8
- package/bpk-component-popover/src/BpkPopover.js +1 -0
- package/bpk-component-popover/src/BpkPopover.module.css +1 -1
- package/bpk-component-popover/src/BpkPopoverPortal.js +1 -0
- package/bpk-component-price/package.json +3 -3
- package/bpk-component-price/src/BpkPrice.js +1 -0
- package/bpk-component-progress/package.json +4 -4
- package/bpk-component-progress/src/BpkProgress.js +1 -0
- package/bpk-component-radio/package.json +3 -3
- package/bpk-component-radio/src/BpkRadio.js +1 -0
- package/bpk-component-rating/package.json +3 -3
- package/bpk-component-rating/src/BpkRating.js +1 -0
- package/bpk-component-rating/src/BpkRating.module.css +1 -1
- package/bpk-component-rtl-toggle/package.json +3 -3
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +1 -0
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +1 -0
- package/bpk-component-scrollable-calendar/package.json +5 -5
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +1 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +1 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +6 -2
- package/bpk-component-section-list/package.json +5 -5
- package/bpk-component-section-list/src/BpkSectionListItem.js +1 -0
- package/bpk-component-section-list/src/BpkSectionListSection.js +1 -0
- package/bpk-component-select/package.json +3 -3
- package/bpk-component-select/src/BpkSelect.js +1 -0
- package/bpk-component-skip-link/package.json +2 -2
- package/bpk-component-skip-link/src/BpkSkipLink.js +1 -0
- package/bpk-component-slider/package.json +3 -3
- package/bpk-component-slider/src/BpkSlider.js +1 -0
- package/bpk-component-spinner/package.json +2 -2
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +2 -1
- package/bpk-component-spinner/src/BpkLargeSpinner.js +2 -1
- package/bpk-component-spinner/src/BpkSpinner.js +2 -1
- package/bpk-component-spinner/src/BpkSpinner.module.css +1 -1
- package/bpk-component-split-input/package.json +3 -3
- package/bpk-component-split-input/src/BpkInputField.js +2 -1
- package/bpk-component-split-input/src/BpkSplitInput.js +2 -1
- package/bpk-component-split-input/src/BpkSplitInput.module.css +1 -1
- package/bpk-component-star-rating/package.json +5 -5
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +1 -0
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +1 -0
- package/bpk-component-star-rating/src/BpkStar.js +1 -0
- package/bpk-component-star-rating/src/BpkStarRating.js +1 -0
- package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +1 -0
- package/bpk-component-switch/package.json +2 -2
- package/bpk-component-switch/src/BpkSwitch.js +1 -0
- package/bpk-component-table/package.json +2 -2
- package/bpk-component-table/src/BpkTable.js +1 -0
- package/bpk-component-table/src/BpkTableCell.js +1 -0
- package/bpk-component-table/src/BpkTableHeadCell.js +1 -0
- package/bpk-component-text/package.json +2 -2
- package/bpk-component-text/src/BpkText.js +1 -0
- package/bpk-component-text/src/BpkText.module.css +1 -1
- package/bpk-component-textarea/package.json +4 -4
- package/bpk-component-textarea/src/BpkTextarea.js +1 -0
- package/bpk-component-theme-toggle/package.json +4 -4
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -0
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +1 -0
- package/bpk-component-ticket/package.json +4 -4
- package/bpk-component-ticket/src/BpkTicket.js +1 -0
- package/bpk-component-ticket/src/BpkTicket.module.css +1 -1
- package/bpk-component-tooltip/package.json +3 -3
- package/bpk-component-tooltip/src/BpkTooltip.js +1 -0
- package/bpk-component-tooltip/src/BpkTooltip.module.css +1 -1
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +1 -0
- package/bpk-react-utils/package.json +1 -1
- package/bpk-scrim-utils/package.json +2 -2
- package/bpk-scrim-utils/src/BpkScrim.js +1 -0
- package/bpk-scrim-utils/src/bpk-scrim.module.css +1 -1
- package/bpk-scrim-utils/src/withScrim.js +1 -0
- package/package.json +1 -1
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.css +0 -18
- package/bpk-component-graphic-promotion/src/custom-breakpoints.module.css +0 -17
- package/bpk-component-loading-button/src/BpkLoadingButton.module.css +0 -18
- package/bpk-component-map/src/BpkMap.module.css +0 -18
- package/bpk-component-price/src/BpkPrice.module.css +0 -18
- package/bpk-component-split-input/src/BpkInputField.module.css +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-slider",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "Backpack slider component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@skyscanner/bpk-foundations-web": "^8.0.0",
|
|
18
18
|
"bpk-mixins": "^31.1.1",
|
|
19
|
-
"bpk-react-utils": "^
|
|
19
|
+
"bpk-react-utils": "^6.0.0",
|
|
20
20
|
"prop-types": "^15.7.2",
|
|
21
21
|
"react-slider": "^1.3.1"
|
|
22
22
|
},
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"react": "^16.3.0 || ^17.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-rtl-toggle": "^3.1.
|
|
27
|
+
"bpk-component-rtl-toggle": "^3.1.12"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-spinner",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.12",
|
|
4
4
|
"description": "Backpack spinner components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@skyscanner/bpk-svgs": "^14.1.9",
|
|
18
18
|
"bpk-mixins": "^31.1.1",
|
|
19
|
-
"bpk-react-utils": "^
|
|
19
|
+
"bpk-react-utils": "^6.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
import React from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
24
23
|
import XlSpinner from '@skyscanner/bpk-svgs/dist/js/spinners/xl';
|
|
25
24
|
|
|
25
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
26
|
+
|
|
26
27
|
import STYLES from './BpkSpinner.module.scss';
|
|
27
28
|
import SPINNER_TYPES from './spinnerTypes';
|
|
28
29
|
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
import PropTypes from 'prop-types';
|
|
22
22
|
import React from 'react';
|
|
23
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
24
23
|
import LgSpinner from '@skyscanner/bpk-svgs/dist/js/spinners/lg';
|
|
25
24
|
|
|
25
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
26
|
+
|
|
26
27
|
import STYLES from './BpkSpinner.module.scss';
|
|
27
28
|
import SPINNER_TYPES from './spinnerTypes';
|
|
28
29
|
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
import PropTypes from 'prop-types';
|
|
22
22
|
import React from 'react';
|
|
23
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
24
23
|
import SmSpinner from '@skyscanner/bpk-svgs/dist/js/spinners/sm';
|
|
25
24
|
|
|
25
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
26
|
+
|
|
26
27
|
import STYLES from './BpkSpinner.module.scss';
|
|
27
28
|
import SPINNER_TYPES from './spinnerTypes';
|
|
28
29
|
|
|
@@ -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-spinner{width:1rem;height:1rem;animation:bpk-keyframe-spin 600ms linear infinite}.bpk-spinner--primary{fill:#0770e3;fill:var(--bpk-spinner-primary-color, #0770e3)}.bpk-spinner--light{fill:#fff}.bpk-spinner--dark{fill:#444560}.bpk-spinner--large{width:1.5rem;height:1.5rem}.bpk-spinner--extra-large{width:2rem;height:2rem}.bpk-spinner--align-to-button{vertical-align:baseline}.bpk-spinner--align-to-large-button{margin-top
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-spinner{width:1rem;height:1rem;animation:bpk-keyframe-spin 600ms linear infinite}.bpk-spinner--primary{fill:#0770e3;fill:var(--bpk-spinner-primary-color, #0770e3)}.bpk-spinner--light{fill:#fff}.bpk-spinner--dark{fill:#444560}.bpk-spinner--large{width:1.5rem;height:1.5rem}.bpk-spinner--extra-large{width:2rem;height:2rem}.bpk-spinner--align-to-button{vertical-align:baseline}.bpk-spinner--align-to-large-button{margin-top:.1875rem;vertical-align:top}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-split-input",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Backpack split-input component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"bpk-component-input": "^6.1.
|
|
16
|
+
"bpk-component-input": "^6.1.17",
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.5.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
/* @flow strict */
|
|
19
19
|
|
|
20
20
|
import React, { Component } from 'react';
|
|
21
|
+
import PropTypes from 'prop-types';
|
|
22
|
+
|
|
21
23
|
import BpkInput from '../../bpk-component-input';
|
|
22
24
|
import { cssModules } from '../../bpk-react-utils';
|
|
23
|
-
import PropTypes from 'prop-types';
|
|
24
25
|
|
|
25
26
|
import STYLES from './BpkInputField.module.scss';
|
|
26
27
|
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
/* @flow strict */
|
|
19
19
|
|
|
20
20
|
import React, { Component } from 'react';
|
|
21
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
22
21
|
import PropTypes from 'prop-types';
|
|
22
|
+
|
|
23
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
23
24
|
import { INPUT_TYPES } from '../../bpk-component-input';
|
|
24
25
|
|
|
25
26
|
import InputField from './BpkInputField';
|
|
@@ -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-split-input{
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-split-input{display:flex}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-star-rating",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.14",
|
|
4
4
|
"description": "Backpack rating star component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^9.2.
|
|
17
|
+
"bpk-component-icon": "^9.2.13",
|
|
18
18
|
"bpk-mixins": "^31.1.1",
|
|
19
|
-
"bpk-react-utils": "^
|
|
19
|
+
"bpk-react-utils": "^6.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^16.3.0 || ^17.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bpk-component-table": "^3.1.
|
|
27
|
-
"bpk-storybook-utils": "^1.1.
|
|
26
|
+
"bpk-component-table": "^3.1.12",
|
|
27
|
+
"bpk-storybook-utils": "^1.1.11"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
import React from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
+
|
|
23
24
|
import SmallIcon from '../../bpk-component-icon/sm/star';
|
|
24
25
|
import LargeIcon from '../../bpk-component-icon/lg/star';
|
|
25
26
|
import OutlineSmallIcon from '../../bpk-component-icon/sm/star-outline';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-switch",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.13",
|
|
4
4
|
"description": "Backpack switch component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.5.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-table",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "Backpack table component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-text",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Backpack text component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -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-text{margin:0}.bpk-text--xs{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--sm{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--base{font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-text--lg{font-size:1.25rem;line-height:1.75rem;font-weight:400}.bpk-text--xl{font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-text--xxl{font-size:2rem;line-height:2.5rem;font-weight:700}.bpk-text--xxxl{font-size:2.5rem;line-height:3rem;font-weight:700}.bpk-text--xxxxl{font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--xxxxxl{font-size:4rem;line-height:4.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--caption{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--footnote{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--label-1{font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-text--label-2{font-size:.875rem;line-height:1.25rem;font-weight:700}.bpk-text--
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-text{margin:0}.bpk-text--xs{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--sm{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--base{font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-text--lg{font-size:1.25rem;line-height:1.75rem;font-weight:400}.bpk-text--xl{font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-text--xxl{font-size:2rem;line-height:2.5rem;font-weight:700}.bpk-text--xxxl{font-size:2.5rem;line-height:3rem;font-weight:700}.bpk-text--xxxxl{font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--xxxxxl{font-size:4rem;line-height:4.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--caption{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--footnote{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--label-1{font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-text--label-2{font-size:.875rem;line-height:1.25rem;font-weight:700}.bpk-text--body-default{font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-text--body-longform{font-size:1.25rem;line-height:1.75rem;font-weight:400}.bpk-text--subheading{font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-text--heading-1{font-size:2.5rem;line-height:3rem;font-weight:700}@media (max-width: 32.25rem){.bpk-text--heading-1{font-size:2rem;line-height:2.5rem;font-weight:700}}.bpk-text--heading-2{font-size:2rem;line-height:2.5rem;font-weight:700}@media (max-width: 32.25rem){.bpk-text--heading-2{font-size:1.5rem;line-height:1.75rem;font-weight:700}}.bpk-text--heading-3{font-size:1.5rem;line-height:1.75rem;font-weight:700}@media (max-width: 32.25rem){.bpk-text--heading-3{font-size:1.25rem;line-height:1.5rem;font-weight:700}}.bpk-text--heading-4{font-size:1.25rem;line-height:1.5rem;font-weight:700}@media (max-width: 32.25rem){.bpk-text--heading-4{font-size:1rem;line-height:1.25rem;font-weight:700}}.bpk-text--heading-5{font-size:1rem;line-height:1.25rem;font-weight:700}.bpk-text--hero-1{font-size:7.5rem;line-height:7.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-2{font-size:6rem;line-height:6rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-3{font-size:4.75rem;line-height:5.25rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-4{font-size:4rem;line-height:4.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-5{font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--bold{font-weight:700}.bpk-text--black{font-weight:900}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-textarea",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.12",
|
|
4
4
|
"description": "Backpack textarea component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"bpk-component-label": "^5.1.
|
|
23
|
-
"bpk-storybook-utils": "^1.1.
|
|
22
|
+
"bpk-component-label": "^5.1.12",
|
|
23
|
+
"bpk-storybook-utils": "^1.1.11"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.3.0 || ^17.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-theme-toggle",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.13",
|
|
4
4
|
"description": "Backpack theme toggle component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@skyscanner/bpk-foundations-web": "^8.0.0",
|
|
18
|
-
"bpk-component-label": "^5.1.
|
|
19
|
-
"bpk-component-select": "^5.1.
|
|
18
|
+
"bpk-component-label": "^5.1.12",
|
|
19
|
+
"bpk-component-select": "^5.1.12",
|
|
20
20
|
"bpk-mixins": "^31.1.1",
|
|
21
|
-
"bpk-react-utils": "^
|
|
21
|
+
"bpk-react-utils": "^6.0.0",
|
|
22
22
|
"prop-types": "^15.7.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-ticket",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Backpack ticket component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.1.1",
|
|
18
|
-
"bpk-react-utils": "^
|
|
18
|
+
"bpk-react-utils": "^6.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "^16.3.0 || ^17.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bpk-component-button": "^6.2.
|
|
26
|
-
"bpk-component-icon": "^9.2.
|
|
25
|
+
"bpk-component-button": "^6.2.7",
|
|
26
|
+
"bpk-component-icon": "^9.2.13"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -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-ticket{position:relative;display:block;display:flex;flex-direction:row;align-items:stretch;
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-ticket{position:relative;display:block;display:flex;flex-direction:row;align-items:stretch;color:#111236;text-decoration:none;cursor:pointer;box-shadow:0px 1px 3px 0px rgba(37,32,31,0.3);border-radius:.375rem;z-index:0}.bpk-ticket::after{position:absolute;top:0;right:0;bottom:0;left:0;content:'';display:block;z-index:-1;transition:opacity 200ms ease-in-out;border-radius:inherit;box-shadow:0px 4px 14px 0px rgba(37,32,31,0.25);opacity:0;pointer-events:none}.bpk-no-touch-support .bpk-ticket:hover:not(:active):not(:disabled)::after{opacity:1}.bpk-no-touch-support .bpk-ticket:hover:not(:active):not(:disabled) .bpk-ticket__paper::after{opacity:1}:global(.bpk-no-touch-support) .bpk-ticket:hover:not(:active):not(:disabled)::after{opacity:1}:global(.bpk-no-touch-support) .bpk-ticket:hover:not(:active):not(:disabled) .bpk-ticket__paper::after{opacity:1}.bpk-ticket--vertical{flex-direction:column}.bpk-ticket--with-notches{box-shadow:none}.bpk-ticket--with-notches::after{content:none}.bpk-ticket__paper{position:relative;background-color:#fff}.bpk-ticket__paper--with-notches{box-shadow:0px 1px 3px 0px rgba(37,32,31,0.3);z-index:0}.bpk-ticket__paper--with-notches::after{position:absolute;top:0;right:0;bottom:0;left:0;content:'';display:block;z-index:-1;transition:opacity 200ms ease-in-out;border-radius:inherit;box-shadow:0px 4px 14px 0px rgba(37,32,31,0.25);opacity:0;pointer-events:none}.bpk-ticket__main{flex:2 1 auto}.bpk-ticket__main--horizontal{border-radius:.375rem 0 0 .375rem}html[dir='rtl'] .bpk-ticket__main--horizontal{border-radius:0 .375rem .375rem 0}.bpk-ticket__main--vertical{border-radius:.375rem .375rem 0 0}.bpk-ticket__main--padded{padding:1rem}.bpk-ticket__main-inner{height:100%;overflow:hidden}.bpk-ticket__main-inner--horizontal{border-radius:.375rem 0 0 .375rem}html[dir='rtl'] .bpk-ticket__main-inner--horizontal{border-radius:0 .375rem .375rem 0}.bpk-ticket__main-inner--vertical{border-radius:.375rem .375rem 0 0}.bpk-ticket__stub{flex:1 1 auto}.bpk-ticket__stub--horizontal{min-width:30%;border-radius:0 .375rem .375rem 0}html[dir='rtl'] .bpk-ticket__stub--horizontal{border-radius:.375rem 0 0 .375rem}.bpk-ticket__stub--vertical{border-radius:0 0 .375rem .375rem}.bpk-ticket__stub--padded{padding:1rem}.bpk-ticket__stub-inner{height:100%;overflow:hidden}.bpk-ticket__stub-inner--horizontal{min-width:30%;border-radius:0 .375rem .375rem 0}html[dir='rtl'] .bpk-ticket__stub-inner--horizontal{border-radius:.375rem 0 0 .375rem}.bpk-ticket__stub-inner--vertical{border-radius:0 0 .375rem .375rem}.bpk-ticket__punchline{position:relative;z-index:1;flex:0 0 auto;background-color:#fff}.bpk-ticket__punchline--horizontal{height:.125rem;background-image:linear-gradient(#dddde5, #dddde5);background-repeat:repeat-x;background-position:0 50%;background-size:.5rem .125rem}.bpk-ticket__punchline--horizontal-with-notches{height:1rem;margin:auto .5rem;padding:0 .5rem;background-image:linear-gradient(#dddde5, #dddde5);background-repeat:repeat-x;background-position:0 50%;background-size:.5rem .125rem}.bpk-ticket__punchline--vertical{width:.125rem;background-image:linear-gradient(#dddde5, #dddde5);background-repeat:repeat-y;background-position:50% 0;background-size:.125rem .5rem}.bpk-ticket__punchline--vertical-with-notches{width:1rem;margin:.5rem auto;padding:.5rem 0;background-image:linear-gradient(#dddde5, #dddde5);background-repeat:repeat-y;background-position:50% 0;background-size:.125rem .5rem}.bpk-ticket__punchline--fallback{display:table-cell;width:.125rem;background-image:linear-gradient(#dddde5, #dddde5);background-repeat:repeat-y;background-position:50% 0;background-size:.125rem .5rem}.bpk-ticket__notch{position:absolute;width:1rem;height:.5rem;overflow:hidden}.bpk-ticket__notch::after{position:relative;content:'';display:block;width:2rem;height:2rem;transform:translate3d(0, 0, 0);border:.5rem solid #fff;border-radius:1rem;box-shadow:0px 1px 3px 0px rgba(37,32,31,0.3) inset}.bpk-ticket__notch--top{top:-.5rem}.bpk-ticket__notch--top::after{right:-50%;bottom:200%;left:-50%}.bpk-ticket__notch--right{right:-.5rem;width:.5rem;height:1rem}.bpk-ticket__notch--right::after{right:100%;bottom:50%}html[dir='rtl'] .bpk-ticket__notch--right::after{right:auto;left:200%}.bpk-ticket__notch--bottom{bottom:-.5rem}.bpk-ticket__notch--bottom::after{right:-50%;bottom:100%;left:-50%}.bpk-ticket__notch--left{left:-.5rem;width:.5rem;height:1rem}.bpk-ticket__notch--left::after{right:200%;bottom:50%}html[dir='rtl'] .bpk-ticket__notch--left::after{right:auto;left:100%}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-tooltip",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Backpack tooltip component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@popperjs/core": "^2.11.5",
|
|
18
18
|
"bpk-mixins": "^31.1.1",
|
|
19
|
-
"bpk-react-utils": "^
|
|
19
|
+
"bpk-react-utils": "^6.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@skyscanner/bpk-foundations-web": "^8.0.0",
|
|
27
|
-
"bpk-component-text": "^7.0.
|
|
27
|
+
"bpk-component-text": "^7.0.6"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -26,6 +26,7 @@ The actual component that developers create (i.e. the default export from this p
|
|
|
26
26
|
|
|
27
27
|
import PropTypes from 'prop-types';
|
|
28
28
|
import React, { type Node } from 'react';
|
|
29
|
+
|
|
29
30
|
import { TransitionInitialMount, cssModules } from '../../bpk-react-utils';
|
|
30
31
|
|
|
31
32
|
import STYLES from './BpkTooltip.module.scss';
|
|
@@ -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-tooltip-portal{z-index:900}.bpk-tooltip{transition:opacity 200ms ease-in-out,transform 200ms ease-in-out;outline:0;opacity:1}.bpk-tooltip--appear{opacity:0}.bpk-tooltip-portal[
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-tooltip-portal{z-index:900}.bpk-tooltip-portal[x-placement='top']{margin-bottom:.25rem}.bpk-tooltip-portal[x-placement='right']{margin-left:.25rem}.bpk-tooltip-portal[x-placement='bottom']{margin-top:.25rem}.bpk-tooltip-portal[x-placement='left']{margin-right:.25rem}.bpk-tooltip{transition:opacity 200ms ease-in-out,transform 200ms ease-in-out;outline:0;opacity:1}.bpk-tooltip--appear{opacity:0}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip--appear:not(.bpk-tooltip--appear-active){transform:translate(0, -1rem);transition:none}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip--appear:not(.bpk-tooltip--appear-active){transform:translate(1rem, 0);transition:none}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip--appear:not(.bpk-tooltip--appear-active){transform:translate(0, 1rem);transition:none}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip--appear:not(.bpk-tooltip--appear-active){transform:translate(-1rem, 0);transition:none}.bpk-tooltip--appear-active{transform:translate(0, 0);transition:opacity 200ms ease-in-out,transform 200ms ease-in-out;opacity:1}.bpk-tooltip__arrow{position:absolute;pointer-events:none}.bpk-tooltip__arrow::before,.bpk-tooltip__arrow::after{position:absolute;content:' ';display:block}.bpk-tooltip__arrow::before{border:.3125rem solid transparent}.bpk-tooltip__arrow::after{border:.25rem solid transparent}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow{top:100%;width:.5rem;height:.25rem}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow::before{bottom:-.3125rem;margin-left:-.0625rem;border-top-color:#dddde5}html[dir='rtl'] .bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow::before{margin-right:-.0625rem;margin-left:0}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow::after{bottom:-.1875rem;border-top-color:#fff}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow{right:100%;width:.25rem;height:.5rem}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow::before{left:-.3125rem;margin-top:-.0625rem;border-right-color:#dddde5}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow::after{left:-.1875rem;border-right-color:#fff}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow{bottom:100%;width:.5rem;height:.25rem}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow::before{top:-.3125rem;margin-left:-.0625rem;border-bottom-color:#dddde5}html[dir='rtl'] .bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow::before{margin-right:-.0625rem;margin-left:0}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow::after{top:-.1875rem;border-bottom-color:#fff}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow{left:100%;width:.25rem;height:.5rem}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow::before{right:-.3125rem;margin-top:-.0625rem;border-left-color:#dddde5}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow::after{right:-.1875rem;border-left-color:#fff}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow--dark{top:100%;width:.5rem;height:.25rem}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow--dark::before{bottom:-.3125rem;margin-left:-.0625rem;border-top-color:#111236}html[dir='rtl'] .bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow--dark::before{margin-right:-.0625rem;margin-left:0}.bpk-tooltip-portal[x-placement='top'] .bpk-tooltip__arrow--dark::after{bottom:-.1875rem;border-top-color:#111236}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow--dark{right:100%;width:.25rem;height:.5rem}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow--dark::before{left:-.3125rem;margin-top:-.0625rem;border-right-color:#111236}.bpk-tooltip-portal[x-placement='right'] .bpk-tooltip__arrow--dark::after{left:-.1875rem;border-right-color:#111236}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow--dark{bottom:100%;width:.5rem;height:.25rem}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow--dark::before{top:-.3125rem;margin-left:-.0625rem;border-bottom-color:#111236}html[dir='rtl'] .bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow--dark::before{margin-right:-.0625rem;margin-left:0}.bpk-tooltip-portal[x-placement='bottom'] .bpk-tooltip__arrow--dark::after{top:-.1875rem;border-bottom-color:#111236}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow--dark{left:100%;width:.25rem;height:.5rem}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow--dark::before{right:-.3125rem;margin-top:-.0625rem;border-left-color:#111236}.bpk-tooltip-portal[x-placement='left'] .bpk-tooltip__arrow--dark::after{right:-.1875rem;border-left-color:#111236}.bpk-tooltip__inner{overflow:hidden;border:.0625rem solid #dddde5;background-color:#fff;border-radius:.375rem;box-shadow:0px 4px 14px 0px rgba(37,32,31,0.25)}.bpk-tooltip__inner--padded{padding:.25rem 0.5rem}.bpk-tooltip__inner--dark{color:#fff;border:.0625rem solid #111236;background-color:#111236;border-radius:.375rem;box-shadow:0px 4px 14px 0px rgba(37,32,31,0.25)}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
import { createPopper, basePlacements } from '@popperjs/core';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import React, { Component, type Node, type Element } from 'react';
|
|
24
|
+
|
|
24
25
|
import { PortalV1, cssModules } from '../../bpk-react-utils';
|
|
25
26
|
|
|
26
27
|
import BpkTooltip, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-scrim-utils",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.11",
|
|
4
4
|
"description": "Higher order component that adds an overlay behind components and manages scroll states.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"a11y-focus-scope": "^1.1.3",
|
|
18
18
|
"a11y-focus-store": "^1.0.0",
|
|
19
19
|
"bpk-mixins": "^31.1.1",
|
|
20
|
-
"bpk-react-utils": "^
|
|
20
|
+
"bpk-react-utils": "^6.0.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^16.3.0 || ^17.0.0"
|
|
@@ -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-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;transition:opacity 200ms ease-in-out;background-color:#b2b2bf;opacity:.7;overflow:hidden}.bpk-scrim--dark{background-color:#111236;opacity:.95}@media (max-width:
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;transition:opacity 200ms ease-in-out;background-color:#b2b2bf;opacity:.7;overflow:hidden}.bpk-scrim--dark{background-color:#111236;opacity:.95}@media (max-width: 32.25rem){.bpk-scrim--full-screen{opacity:1}}.bpk-scrim--appear{opacity:0}.bpk-scrim--appear-active{opacity:.7}
|