@skyscanner/backpack-web 28.1.1 → 29.0.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.
@@ -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-calendar-date{width:2.25rem;height:2.25rem;padding:0;border:none;border-radius:1.5rem;background-color:transparent;text-align:center;cursor:pointer;appearance:none;box-sizing:border-box;font-size:1rem;line-height:1.5rem;font-weight:700;color:#161616;color:var(--bpk-calendar-date-text-color, #161616)}.bpk-no-touch-support .bpk-calendar-date:hover:not(:active):not(:disabled):not(.bpk-calendar-date--selected){background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-hover-color, #161616)}:global(.bpk-no-touch-support) .bpk-calendar-date:hover:not(:active):not(:disabled):not(.bpk-calendar-date--selected){background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-hover-color, #161616)}.bpk-calendar-date:not(.bpk-calendar-date--selected):active{background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-active-color, #161616)}.bpk-calendar-date--outside{background-color:transparent;color:rgba(0,0,0,0.2)}.bpk-calendar-date--selected{cursor:default;color:#fff;color:var(--bpk-calendar-date-text-selected-color, #fff)}.bpk-calendar-date--middle{background-color:#e0e3e5;color:#161616}.bpk-calendar-date--single{background-color:#0062e3}.bpk-calendar-date--start{background-color:#0062e3}.bpk-calendar-date--end{background-color:#0062e3}.bpk-calendar-date--focused:not(:disabled):not(.bpk-calendar-date--selected){box-shadow:0 0 0 2px #0062e3 inset;box-shadow:0 0 0 2px var(--bpk-calendar-date-focused-border-color, #0062e3) inset;color:#0062e3;color:var(--bpk-calendar-date-text-focus-color, #0062e3)}.bpk-calendar-date:disabled,.bpk-calendar-date--blocked{background-color:transparent;color:rgba(0,0,0,0.2);cursor:not-allowed}.bpk-no-touch-support .bpk-calendar-date:disabled:hover:not(:active):not(:disabled),.bpk-no-touch-support .bpk-calendar-date--blocked:hover:not(:active):not(:disabled){color:rgba(0,0,0,0.2)}:global(.bpk-no-touch-support) .bpk-calendar-date:disabled:hover:not(:active):not(:disabled),:global(.bpk-no-touch-support) .bpk-calendar-date--blocked:hover:not(:active):not(:disabled){color:rgba(0,0,0,0.2)}.bpk-calendar-date:disabled:active,.bpk-calendar-date--blocked:active{color:rgba(0,0,0,0.2)}
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-calendar-date{width:2.25rem;height:2.25rem;padding:0;border:none;border-radius:1.5rem;background-color:transparent;text-align:center;cursor:pointer;appearance:none;box-sizing:border-box;font-size:1rem;line-height:1.5rem;font-weight:700;color:#161616;color:var(--bpk-calendar-date-text-color, #161616)}.bpk-no-touch-support .bpk-calendar-date:hover:not(:active):not(:disabled):not(.bpk-calendar-date--selected){background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-hover-color, #161616)}:global(.bpk-no-touch-support) .bpk-calendar-date:hover:not(:active):not(:disabled):not(.bpk-calendar-date--selected){background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-hover-color, #161616)}.bpk-calendar-date:not(.bpk-calendar-date--selected):active{background-color:#eff1f2;color:#161616;color:var(--bpk-calendar-date-text-active-color, #161616)}.bpk-calendar-date--outside{background-color:transparent;color:rgba(0,0,0,0.2)}.bpk-calendar-date--selected{cursor:default;color:#fff;color:var(--bpk-calendar-date-text-selected-color, #fff)}.bpk-calendar-date--middle{background-color:#e3f0ff;color:#161616}.bpk-calendar-date--single{background-color:#0062e3}.bpk-calendar-date--start{background-color:#0062e3}.bpk-calendar-date--end{background-color:#0062e3}.bpk-calendar-date--focused:not(:disabled):not(.bpk-calendar-date--selected){box-shadow:0 0 0 2px #0062e3 inset;box-shadow:0 0 0 2px var(--bpk-calendar-date-focused-border-color, #0062e3) inset;color:#0062e3;color:var(--bpk-calendar-date-text-focus-color, #0062e3)}.bpk-calendar-date:disabled,.bpk-calendar-date--blocked{background-color:transparent;color:rgba(0,0,0,0.2);cursor:not-allowed}.bpk-no-touch-support .bpk-calendar-date:disabled:hover:not(:active):not(:disabled),.bpk-no-touch-support .bpk-calendar-date--blocked:hover:not(:active):not(:disabled){color:rgba(0,0,0,0.2)}:global(.bpk-no-touch-support) .bpk-calendar-date:disabled:hover:not(:active):not(:disabled),:global(.bpk-no-touch-support) .bpk-calendar-date--blocked:hover:not(:active):not(:disabled){color:rgba(0,0,0,0.2)}.bpk-calendar-date:disabled:active,.bpk-calendar-date--blocked:active{color:rgba(0,0,0,0.2)}
@@ -15,4 +15,4 @@
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
17
  */
18
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-calendar-grid{width:100%;border-collapse:separate;border-spacing:0}.bpk-calendar-grid--animating{z-index:1;transition:transform 0.2s ease-in-out}.bpk-calendar-grid__caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-calendar-grid__date{width:100%;text-align:center}.bpk-calendar-grid__date--start{background-image:linear-gradient(to right, #fff 50%, #e0e3e5 50%)}html[dir='rtl'] .bpk-calendar-grid__date--start{background-image:linear-gradient(to left, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__date--middle{background-color:#e0e3e5}.bpk-calendar-grid__date--end{background-image:linear-gradient(to left, #fff 50%, #e0e3e5 50%)}html[dir='rtl'] .bpk-calendar-grid__date--end{background-image:linear-gradient(to right, #fff 50%, #e0e3e5 50%)}.bpk-calendar-grid__week{display:flex;padding-top:1.5rem}
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-calendar-grid{width:100%;border-collapse:separate;border-spacing:0}.bpk-calendar-grid--animating{z-index:1;transition:transform 0.2s ease-in-out}.bpk-calendar-grid__caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-calendar-grid__date{width:100%;text-align:center}.bpk-calendar-grid__date--start{background-image:linear-gradient(to right, #fff 50%, #e3f0ff 50%)}html[dir='rtl'] .bpk-calendar-grid__date--start{background-image:linear-gradient(to left, #fff 50%, #e3f0ff 50%)}.bpk-calendar-grid__date--middle{background-color:#e3f0ff}.bpk-calendar-grid__date--end{background-image:linear-gradient(to left, #fff 50%, #e3f0ff 50%)}html[dir='rtl'] .bpk-calendar-grid__date--end{background-image:linear-gradient(to right, #fff 50%, #e3f0ff 50%)}.bpk-calendar-grid__week{display:flex;padding-top:1.5rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "28.1.1",
3
+ "version": "29.0.0",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,6 +43,7 @@
43
43
  "react-slider": "^1.3.1",
44
44
  "react-table": "^7.8.0",
45
45
  "react-transition-group": "^2.5.3",
46
+ "react-virtualized-auto-sizer": "^1.0.20",
46
47
  "react-window": "^1.8.7"
47
48
  },
48
49
  "peerDependencies": {