@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.
Files changed (93) hide show
  1. package/bpk-animate-height/examples.js +1 -1
  2. package/bpk-component-accordion/examples.js +4 -4
  3. package/bpk-component-accordion/src/BpkAccordionItem.js +5 -5
  4. package/bpk-component-aria-live/examples.js +6 -7
  5. package/bpk-component-autosuggest/examples.js +4 -4
  6. package/bpk-component-autosuggest/src/BpkAutosuggest.js +1 -1
  7. package/bpk-component-badge/examples.js +5 -5
  8. package/bpk-component-banner-alert/examples.js +3 -3
  9. package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +5 -5
  10. package/bpk-component-barchart/examples.js +2 -2
  11. package/bpk-component-barchart/src/BpkBarchart.js +1 -1
  12. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +4 -4
  13. package/bpk-component-calendar/examples-components.js +1 -1
  14. package/bpk-component-calendar/examples.js +1 -1
  15. package/bpk-component-calendar/src/BpkCalendarNav.js +12 -12
  16. package/bpk-component-card/examples.js +2 -2
  17. package/bpk-component-chip/examples.js +8 -8
  18. package/bpk-component-chip/src/BpkDismissibleChip.js +1 -1
  19. package/bpk-component-chip/src/BpkSelectableChip.js +1 -1
  20. package/bpk-component-close-button/src/BpkCloseButton.js +1 -1
  21. package/bpk-component-content-container/examples.js +2 -2
  22. package/bpk-component-datatable/src/bpkHeaderRenderer.js +3 -3
  23. package/bpk-component-datepicker/examples.js +4 -4
  24. package/bpk-component-datepicker/index.js +1 -1
  25. package/bpk-component-datepicker/src/BpkDatepicker.js +5 -5
  26. package/bpk-component-datepicker/src/themeAttributes.js +3 -3
  27. package/bpk-component-dialog/examples.js +5 -5
  28. package/bpk-component-dialog/src/BpkDialog.js +1 -1
  29. package/bpk-component-dialog/src/BpkDialogInner.js +1 -1
  30. package/bpk-component-drawer/examples.js +2 -2
  31. package/bpk-component-drawer/src/BpkDrawerContent.js +2 -2
  32. package/bpk-component-drawer/src/themeAttributes.js +1 -1
  33. package/bpk-component-fieldset/examples.js +11 -11
  34. package/bpk-component-fieldset/src/BpkFieldset.js +2 -2
  35. package/bpk-component-flare/examples.js +1 -1
  36. package/bpk-component-form-validation/examples.js +5 -5
  37. package/bpk-component-form-validation/src/BpkFormValidation.js +2 -2
  38. package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -1
  39. package/bpk-component-horizontal-nav/examples.js +1 -1
  40. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +1 -1
  41. package/bpk-component-icon/examples.js +3 -3
  42. package/bpk-component-image/examples.js +2 -2
  43. package/bpk-component-image/src/BpkBackgroundImage.js +1 -1
  44. package/bpk-component-image/src/BpkImage.js +1 -1
  45. package/bpk-component-infinite-scroll/examples.js +3 -3
  46. package/bpk-component-input/examples.js +2 -2
  47. package/bpk-component-input/src/BpkClearButton.js +2 -2
  48. package/bpk-component-loading-button/examples.js +3 -3
  49. package/bpk-component-loading-button/src/BpkLoadingButton.js +5 -5
  50. package/bpk-component-map/examples.js +6 -6
  51. package/bpk-component-map/src/BpkPriceMarker.js +1 -1
  52. package/bpk-component-map/src/DefaultLoadingElement.js +1 -1
  53. package/bpk-component-modal/examples.js +6 -6
  54. package/bpk-component-modal/src/BpkModalInner.js +3 -3
  55. package/bpk-component-modal/src/themeAttributes.js +1 -1
  56. package/bpk-component-navigation-bar/examples.js +3 -3
  57. package/bpk-component-navigation-bar/src/BpkNavigationBar.js +1 -1
  58. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +1 -1
  59. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +1 -1
  60. package/bpk-component-navigation-stack/examples.js +1 -1
  61. package/bpk-component-navigation-stack/stories-components.js +19 -19
  62. package/bpk-component-nudger/examples.js +1 -1
  63. package/bpk-component-nudger/src/BpkConfigurableNudger.js +5 -5
  64. package/bpk-component-nudger/src/themeAttributes.js +1 -1
  65. package/bpk-component-overlay/examples.js +2 -2
  66. package/bpk-component-pagination/src/BpkPaginationNudger.js +3 -3
  67. package/bpk-component-pagination/src/BpkPaginationPage.js +1 -1
  68. package/bpk-component-pagination/src/themeAttributes.js +1 -1
  69. package/bpk-component-phone-input/examples.js +2 -2
  70. package/bpk-component-phone-input/src/BpkPhoneInput.js +3 -3
  71. package/bpk-component-popover/examples.js +4 -4
  72. package/bpk-component-popover/src/BpkPopover.js +3 -3
  73. package/bpk-component-popover/src/themeAttributes.js +1 -1
  74. package/bpk-component-progress/examples.js +1 -1
  75. package/bpk-component-rating/src/BpkRating.js +1 -1
  76. package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +1 -1
  77. package/bpk-component-scrollable-calendar/examples.js +1 -1
  78. package/bpk-component-scrollable-calendar/index.js +1 -1
  79. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +1 -1
  80. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +1 -1
  81. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +2 -2
  82. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
  83. package/bpk-component-scrollable-calendar/src/utils.js +1 -1
  84. package/bpk-component-section-list/src/BpkSectionListItem.js +2 -2
  85. package/bpk-component-section-list/src/BpkSectionListSection.js +1 -1
  86. package/bpk-component-slider/examples.js +9 -9
  87. package/bpk-component-star-rating/examples.js +1 -1
  88. package/bpk-component-star-rating/src/BpkStar.js +7 -7
  89. package/bpk-component-textarea/examples.js +1 -1
  90. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +2 -2
  91. package/bpk-component-ticket/examples.js +3 -3
  92. package/bpk-component-tooltip/examples.js +2 -2
  93. 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
- this.state.value[0],
55
- this.state.value[1],
56
- time && this.valueTimeFormatter,
57
- )
54
+ this.state.value[0],
55
+ this.state.value[1],
56
+ time && this.valueTimeFormatter,
57
+ )
58
58
  : this.valueComponent(
59
- min,
60
- this.state.value,
61
- time && this.valueTimeFormatter,
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';
@@ -20,7 +20,7 @@
20
20
 
21
21
  import React from 'react';
22
22
  import { action } from 'bpk-storybook-utils';
23
- import BpkLabel from 'bpk-component-label';
23
+ import BpkLabel from '../../bpk-component-label';
24
24
 
25
25
  import BpkTextarea from './index';
26
26
 
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",