@royaloperahouse/chord 2.1.10 → 2.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [2.2.0]
2
+ - Fix Grid bug introduced in 2.1.9
3
+
1
4
  ## [2.1.10]
2
5
  - Add missing export for `CreditListing`
3
6
 
@@ -2473,29 +2473,29 @@ var _templateObject$9;
2473
2473
  var Grid = /*#__PURE__*/styled__default.div(_templateObject$9 || (_templateObject$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: var(--grid-template-columns);\n grid-template-rows: max-content;\n gap: var(--grid-column-gap);\n margin: 0;\n"])));
2474
2474
 
2475
2475
  var _templateObject$a;
2476
- var GridItem = /*#__PURE__*/styled__default.div(_templateObject$a || (_templateObject$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: span ", ";\n grid-column-start: ", ";\n\n @media ", " {\n & {\n grid-column: span\n ", ";\n grid-column-start: ", ";\n }\n }\n\n @media ", " {\n & {\n grid-column: span ", ";\n grid-column-start: ", ";\n }\n }\n"])), function (_ref) {
2477
- var _ref$columnSpanDeskto = _ref.columnSpanDesktop,
2478
- columnSpanDesktop = _ref$columnSpanDeskto === void 0 ? 1 : _ref$columnSpanDeskto;
2479
- return columnSpanDesktop;
2480
- }, function (_ref2) {
2481
- var columnStartDesktop = _ref2.columnStartDesktop;
2476
+ var GridItem = /*#__PURE__*/styled__default.div(_templateObject$a || (_templateObject$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: ", " / span\n ", ";\n\n @media ", " {\n & {\n grid-column: ", " /\n span ", ";\n }\n }\n\n @media ", " {\n & {\n grid-column: ", " / span\n ", ";\n }\n }\n"])), function (_ref) {
2477
+ var columnStartDesktop = _ref.columnStartDesktop;
2482
2478
  return columnStartDesktop;
2479
+ }, function (_ref2) {
2480
+ var _ref2$columnSpanDeskt = _ref2.columnSpanDesktop,
2481
+ columnSpanDesktop = _ref2$columnSpanDeskt === void 0 ? 1 : _ref2$columnSpanDeskt;
2482
+ return columnSpanDesktop;
2483
2483
  }, devices.mobile, function (_ref3) {
2484
- var _ref3$columnSpanDevic = _ref3.columnSpanDevice,
2485
- columnSpanDevice = _ref3$columnSpanDevic === void 0 ? 1 : _ref3$columnSpanDevic,
2486
- columnSpanSmallDevice = _ref3.columnSpanSmallDevice;
2487
- return columnSpanSmallDevice != null ? columnSpanSmallDevice : columnSpanDevice;
2488
- }, function (_ref4) {
2489
- var columnStartDevice = _ref4.columnStartDevice,
2490
- columnStartSmallDevice = _ref4.columnStartSmallDevice;
2484
+ var columnStartDevice = _ref3.columnStartDevice,
2485
+ columnStartSmallDevice = _ref3.columnStartSmallDevice;
2491
2486
  return columnStartSmallDevice != null ? columnStartSmallDevice : columnStartDevice;
2487
+ }, function (_ref4) {
2488
+ var _ref4$columnSpanDevic = _ref4.columnSpanDevice,
2489
+ columnSpanDevice = _ref4$columnSpanDevic === void 0 ? 1 : _ref4$columnSpanDevic,
2490
+ columnSpanSmallDevice = _ref4.columnSpanSmallDevice;
2491
+ return columnSpanSmallDevice != null ? columnSpanSmallDevice : columnSpanDevice;
2492
2492
  }, devices.tablet, function (_ref5) {
2493
- var _ref5$columnSpanDevic = _ref5.columnSpanDevice,
2494
- columnSpanDevice = _ref5$columnSpanDevic === void 0 ? 1 : _ref5$columnSpanDevic;
2495
- return columnSpanDevice;
2496
- }, function (_ref6) {
2497
- var columnStartDevice = _ref6.columnStartDevice;
2493
+ var columnStartDevice = _ref5.columnStartDevice;
2498
2494
  return columnStartDevice;
2495
+ }, function (_ref6) {
2496
+ var _ref6$columnSpanDevic = _ref6.columnSpanDevice,
2497
+ columnSpanDevice = _ref6$columnSpanDevic === void 0 ? 1 : _ref6$columnSpanDevic;
2498
+ return columnSpanDevice;
2499
2499
  });
2500
2500
 
2501
2501
  var _templateObject$b;