@skyscanner/backpack-web 0.0.2 → 0.0.3
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/examples.js +1 -1
- package/bpk-component-accordion/examples.js +4 -4
- package/bpk-component-accordion/src/BpkAccordionItem.js +5 -5
- package/bpk-component-aria-live/examples.js +6 -7
- package/bpk-component-autosuggest/examples.js +4 -4
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +1 -1
- package/bpk-component-badge/examples.js +5 -5
- package/bpk-component-banner-alert/examples.js +3 -3
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +5 -5
- package/bpk-component-barchart/examples.js +2 -2
- package/bpk-component-barchart/src/BpkBarchart.js +1 -1
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +4 -4
- package/bpk-component-calendar/examples-components.js +1 -1
- package/bpk-component-calendar/examples.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarNav.js +12 -12
- package/bpk-component-card/examples.js +2 -2
- package/bpk-component-chip/examples.js +8 -8
- package/bpk-component-chip/src/BpkDismissibleChip.js +1 -1
- package/bpk-component-chip/src/BpkSelectableChip.js +1 -1
- package/bpk-component-close-button/src/BpkCloseButton.js +1 -1
- package/bpk-component-content-container/examples.js +2 -2
- package/bpk-component-datatable/src/bpkHeaderRenderer.js +3 -3
- package/bpk-component-datepicker/examples.js +4 -4
- package/bpk-component-datepicker/index.js +1 -1
- package/bpk-component-datepicker/src/BpkDatepicker.js +5 -5
- package/bpk-component-datepicker/src/themeAttributes.js +3 -3
- package/bpk-component-dialog/examples.js +5 -5
- package/bpk-component-dialog/src/BpkDialog.js +1 -1
- package/bpk-component-dialog/src/BpkDialogInner.js +1 -1
- package/bpk-component-drawer/examples.js +2 -2
- package/bpk-component-drawer/src/BpkDrawerContent.js +2 -2
- package/bpk-component-drawer/src/themeAttributes.js +1 -1
- package/bpk-component-fieldset/examples.js +11 -11
- package/bpk-component-fieldset/src/BpkFieldset.js +2 -2
- package/bpk-component-flare/examples.js +1 -1
- package/bpk-component-form-validation/examples.js +5 -5
- package/bpk-component-form-validation/src/BpkFormValidation.js +2 -2
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -1
- package/bpk-component-horizontal-nav/examples.js +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +1 -1
- package/bpk-component-icon/examples.js +3 -3
- package/bpk-component-image/examples.js +2 -2
- package/bpk-component-image/src/BpkBackgroundImage.js +1 -1
- package/bpk-component-image/src/BpkImage.js +1 -1
- package/bpk-component-infinite-scroll/examples.js +3 -3
- package/bpk-component-input/examples.js +2 -2
- package/bpk-component-input/src/BpkClearButton.js +2 -2
- package/bpk-component-loading-button/examples.js +3 -3
- package/bpk-component-loading-button/src/BpkLoadingButton.js +5 -5
- package/bpk-component-map/examples.js +6 -6
- package/bpk-component-map/src/BpkPriceMarker.js +1 -1
- package/bpk-component-map/src/DefaultLoadingElement.js +1 -1
- package/bpk-component-modal/examples.js +6 -6
- package/bpk-component-modal/src/BpkModalInner.js +3 -3
- package/bpk-component-modal/src/themeAttributes.js +1 -1
- package/bpk-component-navigation-bar/examples.js +3 -3
- package/bpk-component-navigation-bar/src/BpkNavigationBar.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-navigation-stack/examples.js +1 -1
- package/bpk-component-navigation-stack/stories-components.js +19 -19
- package/bpk-component-nudger/examples.js +1 -1
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +5 -5
- package/bpk-component-nudger/src/themeAttributes.js +1 -1
- package/bpk-component-overlay/examples.js +2 -2
- package/bpk-component-pagination/src/BpkPaginationNudger.js +3 -3
- package/bpk-component-pagination/src/BpkPaginationPage.js +1 -1
- package/bpk-component-pagination/src/themeAttributes.js +1 -1
- package/bpk-component-phone-input/examples.js +2 -2
- package/bpk-component-phone-input/src/BpkPhoneInput.js +3 -3
- package/bpk-component-popover/examples.js +4 -4
- package/bpk-component-popover/src/BpkPopover.js +3 -3
- package/bpk-component-popover/src/themeAttributes.js +1 -1
- package/bpk-component-progress/examples.js +1 -1
- package/bpk-component-rating/src/BpkRating.js +1 -1
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +1 -1
- package/bpk-component-scrollable-calendar/examples.js +1 -1
- package/bpk-component-scrollable-calendar/index.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +2 -2
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
- package/bpk-component-scrollable-calendar/src/utils.js +1 -1
- package/bpk-component-section-list/src/BpkSectionListItem.js +2 -2
- package/bpk-component-section-list/src/BpkSectionListSection.js +1 -1
- package/bpk-component-slider/examples.js +9 -9
- package/bpk-component-star-rating/examples.js +1 -1
- package/bpk-component-star-rating/src/BpkStar.js +7 -7
- package/bpk-component-textarea/examples.js +1 -1
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +2 -2
- package/bpk-component-ticket/examples.js +3 -3
- package/bpk-component-tooltip/examples.js +2 -2
- package/package.json +1 -1
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
import PropTypes from 'prop-types';
|
|
22
22
|
import React, { type Node } from 'react';
|
|
23
23
|
import { cssModules } from 'bpk-react-utils';
|
|
24
|
-
import BpkLargeChevronRightIcon from 'bpk-component-icon/lg/chevron-right';
|
|
25
|
-
import { withRtlSupport } from 'bpk-component-icon';
|
|
24
|
+
import BpkLargeChevronRightIcon from '../../bpk-component-icon/lg/chevron-right';
|
|
25
|
+
import { withRtlSupport } from '../../bpk-component-icon';
|
|
26
26
|
|
|
27
27
|
import STYLES from './BpkSectionListItem.module.scss';
|
|
28
28
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import PropTypes from 'prop-types';
|
|
22
22
|
import React, { type Node } from 'react';
|
|
23
23
|
import { cssModules } from 'bpk-react-utils';
|
|
24
|
-
import BpkText, { TEXT_STYLES } from 'bpk-component-text';
|
|
24
|
+
import BpkText, { TEXT_STYLES } from '../../bpk-component-text';
|
|
25
25
|
|
|
26
26
|
import STYLES from './BpkSectionListSection.module.scss';
|
|
27
27
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import PropTypes from 'prop-types';
|
|
20
20
|
import React, { Component } from 'react';
|
|
21
|
-
import { updateOnDirectionChange } from 'bpk-component-rtl-toggle';
|
|
21
|
+
import { updateOnDirectionChange } from '../../bpk-component-rtl-toggle';
|
|
22
22
|
|
|
23
23
|
import BpkSlider from './index';
|
|
24
24
|
|
|
@@ -51,15 +51,15 @@ class SliderContainer extends Component {
|
|
|
51
51
|
<div>
|
|
52
52
|
{this.state.value.length
|
|
53
53
|
? this.valueComponent(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
this.state.value[0],
|
|
55
|
+
this.state.value[1],
|
|
56
|
+
time && this.valueTimeFormatter,
|
|
57
|
+
)
|
|
58
58
|
: this.valueComponent(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
min,
|
|
60
|
+
this.state.value,
|
|
61
|
+
time && this.valueTimeFormatter,
|
|
62
|
+
)}
|
|
63
63
|
<BpkSlider
|
|
64
64
|
min={min}
|
|
65
65
|
max={time ? 59 : 100}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
BpkTableCell,
|
|
28
28
|
BpkTableHead,
|
|
29
29
|
BpkTableHeadCell,
|
|
30
|
-
} from 'bpk-component-table';
|
|
30
|
+
} from '../../bpk-component-table';
|
|
31
31
|
|
|
32
32
|
import BpkInteractiveStarRating from './src/BpkInteractiveStarRating';
|
|
33
33
|
import withInteractiveStarRatingState from './src/withInteractiveStarRatingState';
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
|
|
21
21
|
import React from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
-
import SmallIcon from 'bpk-component-icon/sm/star';
|
|
24
|
-
import LargeIcon from 'bpk-component-icon/lg/star';
|
|
25
|
-
import OutlineSmallIcon from 'bpk-component-icon/sm/star-outline';
|
|
26
|
-
import OutlineLargeIcon from 'bpk-component-icon/lg/star-outline';
|
|
27
|
-
import HalfSmallIcon from 'bpk-component-icon/sm/star-half';
|
|
28
|
-
import HalfLargeIcon from 'bpk-component-icon/lg/star-half';
|
|
29
|
-
import { withRtlSupport } from 'bpk-component-icon';
|
|
23
|
+
import SmallIcon from '../../bpk-component-icon/sm/star';
|
|
24
|
+
import LargeIcon from '../../bpk-component-icon/lg/star';
|
|
25
|
+
import OutlineSmallIcon from '../../bpk-component-icon/sm/star-outline';
|
|
26
|
+
import OutlineLargeIcon from '../../bpk-component-icon/lg/star-outline';
|
|
27
|
+
import HalfSmallIcon from '../../bpk-component-icon/sm/star-half';
|
|
28
|
+
import HalfLargeIcon from '../../bpk-component-icon/lg/star-half';
|
|
29
|
+
import { withRtlSupport } from '../../bpk-component-icon';
|
|
30
30
|
import { cssModules } from 'bpk-react-utils';
|
|
31
31
|
|
|
32
32
|
import STYLES from './BpkStar.module.scss';
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
import React from 'react';
|
|
20
20
|
import Konami from 'konami';
|
|
21
|
-
import BpkLabel from 'bpk-component-label';
|
|
22
|
-
import BpkSelect from 'bpk-component-select';
|
|
21
|
+
import BpkLabel from '../../bpk-component-label';
|
|
22
|
+
import BpkSelect from '../../bpk-component-select';
|
|
23
23
|
import { cssModules } from 'bpk-react-utils';
|
|
24
24
|
|
|
25
25
|
import STYLES from './BpkThemeToggle.module.scss';
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
import PropTypes from 'prop-types';
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import { cssModules } from 'bpk-react-utils';
|
|
24
|
-
import BpkButton from 'bpk-component-button';
|
|
25
|
-
import ArrowRightIcon from 'bpk-component-icon/sm/long-arrow-right';
|
|
26
|
-
import { withButtonAlignment, withRtlSupport } from 'bpk-component-icon';
|
|
24
|
+
import BpkButton from '../../bpk-component-button';
|
|
25
|
+
import ArrowRightIcon from '../../bpk-component-icon/sm/long-arrow-right';
|
|
26
|
+
import { withButtonAlignment, withRtlSupport } from '../../bpk-component-icon';
|
|
27
27
|
|
|
28
28
|
import STYLES from './examples.module.scss';
|
|
29
29
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
import React from 'react';
|
|
22
22
|
import { withDefaultProps } from 'bpk-react-utils';
|
|
23
|
-
import BpkText, { TEXT_STYLES } from 'bpk-component-text';
|
|
23
|
+
import BpkText, { TEXT_STYLES } from '../../bpk-component-text';
|
|
24
24
|
import {
|
|
25
25
|
spacingSm,
|
|
26
26
|
colorMonteverde,
|
|
@@ -157,7 +157,7 @@ const FocusExample = () => (
|
|
|
157
157
|
>
|
|
158
158
|
Should be focused on third
|
|
159
159
|
</BpkTooltip>
|
|
160
|
-
<button type="button" onClick={() => {}}>
|
|
160
|
+
<button type="button" onClick={() => { }}>
|
|
161
161
|
Four
|
|
162
162
|
</button>
|
|
163
163
|
<BpkTooltip
|