@atlaskit/grid
Advanced tools
Comparing version 0.11.10 to 0.11.11
# @atlaskit/grid | ||
## 0.11.11 | ||
### Patch Changes | ||
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147) [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483). | ||
## 0.11.10 | ||
@@ -7,3 +13,3 @@ | ||
- [`8914885e490`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8914885e490) - Updates metadata in grid package. | ||
- [#38000](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38000) [`8914885e490`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8914885e490) - Updates metadata in grid package. | ||
@@ -14,3 +20,3 @@ ## 0.11.9 | ||
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies | ||
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies | ||
@@ -45,3 +51,3 @@ ## 0.11.8 | ||
- [`37131e3a8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37131e3a8ea) - Uses the Alpha release of our responsive media helpers via either the public `media` export or the internal `UNSAFE_media` export. | ||
- [#35149](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35149) [`37131e3a8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37131e3a8ea) - Uses the Alpha release of our responsive media helpers via either the public `media` export or the internal `UNSAFE_media` export. | ||
- Updated dependencies | ||
@@ -71,3 +77,3 @@ | ||
- [`5c00a3ac8bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c00a3ac8bb) - Grid now applies rem based breakpoints. | ||
- [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217) [`5c00a3ac8bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c00a3ac8bb) - Grid now applies rem based breakpoints. | ||
@@ -78,3 +84,3 @@ ## 0.10.2 | ||
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 | ||
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 | ||
@@ -85,3 +91,3 @@ ## 0.10.1 | ||
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
@@ -92,3 +98,3 @@ ## 0.10.0 | ||
- [`b699bbebf6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b699bbebf6b) - [ux] Add GridContainer, a component that allows the vertical stacking of independent Grid components while keeping the standard grid gap between grids | ||
- [#33106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33106) [`b699bbebf6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b699bbebf6b) - [ux] Add GridContainer, a component that allows the vertical stacking of independent Grid components while keeping the standard grid gap between grids | ||
@@ -99,3 +105,3 @@ ## 0.9.0 | ||
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
@@ -110,3 +116,3 @@ ### Patch Changes | ||
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils | ||
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils | ||
@@ -147,3 +153,3 @@ ## 0.8.9 | ||
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18. | ||
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18. | ||
@@ -154,3 +160,3 @@ ## 0.8.3 | ||
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. | ||
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. | ||
@@ -161,3 +167,3 @@ ## 0.8.2 | ||
- [`49af5b4261e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49af5b4261e) - Consider the Grid now in Closed Beta! | ||
- [#31286](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31286) [`49af5b4261e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49af5b4261e) - Consider the Grid now in Closed Beta! | ||
@@ -168,3 +174,3 @@ ## 0.8.1 | ||
- [`842bb999a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/842bb999a85) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. | ||
- [#31041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31041) [`842bb999a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/842bb999a85) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`. | ||
@@ -175,3 +181,3 @@ ## 0.8.0 | ||
- [`28a87e4d9a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28a87e4d9a2) - All responsive helpers, types, and breakpoints have been migrated to `@atlaskit/primitives/responsive` and imported from there. There should be no functionality change, though this is a breaking change while we're in Alpha and these are strictly used internally. | ||
- [#30894](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30894) [`28a87e4d9a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28a87e4d9a2) - All responsive helpers, types, and breakpoints have been migrated to `@atlaskit/primitives/responsive` and imported from there. There should be no functionality change, though this is a breaking change while we're in Alpha and these are strictly used internally. | ||
@@ -186,3 +192,3 @@ ### Patch Changes | ||
- [`96d7e8fa14e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96d7e8fa14e) - Add a new `xxs` breakpoint and adjust the `xs` breakpoint | ||
- [#30814](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30814) [`96d7e8fa14e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96d7e8fa14e) - Add a new `xxs` breakpoint and adjust the `xs` breakpoint | ||
@@ -193,3 +199,3 @@ ## 0.6.0 | ||
- [`3062f11f279`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3062f11f279) - Add the ability to hide a GridItem entirely at a breakpoint and document hasInlinePadding. | ||
- [#30769](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30769) [`3062f11f279`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3062f11f279) - Add the ability to hide a GridItem entirely at a breakpoint and document hasInlinePadding. | ||
@@ -200,3 +206,3 @@ ## 0.5.0 | ||
- [`0ceafd30000`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ceafd30000) - Further revisions to the Alpha Grid API and adding a `noInlinePadding` prop. | ||
- [#30532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30532) [`0ceafd30000`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ceafd30000) - Further revisions to the Alpha Grid API and adding a `noInlinePadding` prop. | ||
@@ -207,3 +213,3 @@ ## 0.4.0 | ||
- [`cbd0b817e56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbd0b817e56) - Adds `hasInlinePadding` prop that controls whether the grid includes `padding-inline` gutters | ||
- [#30490](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30490) [`cbd0b817e56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbd0b817e56) - Adds `hasInlinePadding` prop that controls whether the grid includes `padding-inline` gutters | ||
@@ -214,3 +220,3 @@ ## 0.3.0 | ||
- [`bc3d3a45fb6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc3d3a45fb6) - Major renaming and API api changes trying to close out our Alpha state | ||
- [#30268](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30268) [`bc3d3a45fb6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc3d3a45fb6) - Major renaming and API api changes trying to close out our Alpha state | ||
@@ -227,3 +233,3 @@ ## 0.2.1 | ||
- [`2d3c5a69c76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3c5a69c76) - Change from a width flow to a maxWidth restriction with full-width explicitly by default. | ||
- [#29098](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29098) [`2d3c5a69c76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3c5a69c76) - Change from a width flow to a maxWidth restriction with full-width explicitly by default. | ||
@@ -234,3 +240,3 @@ ## 0.1.0 | ||
- [`b47d1de31c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b47d1de31c6) - Disables nested grid usage until we have clear guidance and working examples in place. | ||
- [#29150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29150) [`b47d1de31c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b47d1de31c6) - Disables nested grid usage until we have clear guidance and working examples in place. | ||
@@ -241,3 +247,3 @@ ## 0.0.3 | ||
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes. | ||
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes. | ||
@@ -248,3 +254,3 @@ ## 0.0.2 | ||
- [`5a67d3086ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a67d3086ca) - Initial alpha release of the component. | ||
- [#28708](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28708) [`5a67d3086ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a67d3086ca) - Initial alpha release of the component. | ||
@@ -251,0 +257,0 @@ ## 0.0.1 |
@@ -7,3 +7,2 @@ "use strict"; | ||
exports.GRID_COLUMNS = void 0; | ||
var GRID_COLUMNS = 12; | ||
exports.GRID_COLUMNS = GRID_COLUMNS; | ||
var GRID_COLUMNS = exports.GRID_COLUMNS = 12; |
@@ -34,3 +34,3 @@ "use strict"; | ||
*/ | ||
var GridContainerContext = /*#__PURE__*/(0, _react.createContext)(false); | ||
var GridContainerContext = exports.GridContainerContext = /*#__PURE__*/(0, _react.createContext)(false); | ||
@@ -60,4 +60,3 @@ /** | ||
*/ | ||
exports.GridContainerContext = GridContainerContext; | ||
var GridContainer = function GridContainer(_ref) { | ||
var GridContainer = exports.GridContainer = function GridContainer(_ref) { | ||
var testId = _ref.testId, | ||
@@ -78,3 +77,2 @@ children = _ref.children, | ||
}, children)); | ||
}; | ||
exports.GridContainer = GridContainer; | ||
}; |
@@ -16,4 +16,4 @@ "use strict"; | ||
var _config = require("./config"); | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */ | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ | ||
// when in doubt simply span all columns | ||
@@ -85,3 +85,3 @@ var baseGridItemStyles = (0, _react2.css)({ | ||
*/ | ||
var GridItem = function GridItem(_ref4) { | ||
var GridItem = exports.GridItem = function GridItem(_ref4) { | ||
var testId = _ref4.testId, | ||
@@ -156,3 +156,2 @@ children = _ref4.children, | ||
}, children); | ||
}; | ||
exports.GridItem = GridItem; | ||
}; |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _responsive = require("@atlaskit/primitives/responsive"); | ||
var gapMediaQueries = Object.values((0, _responsive.UNSAFE_buildAboveMediaQueryCSS)(function (breakpoint) { | ||
var gapMediaQueries = exports.gapMediaQueries = Object.values((0, _responsive.UNSAFE_buildAboveMediaQueryCSS)(function (breakpoint) { | ||
return { | ||
@@ -14,8 +14,6 @@ gap: _responsive.UNSAFE_BREAKPOINTS_CONFIG[breakpoint].gridItemGutter | ||
})); | ||
exports.gapMediaQueries = gapMediaQueries; | ||
var inlinePaddingMediaQueries = Object.values((0, _responsive.UNSAFE_buildAboveMediaQueryCSS)(function (breakpoint) { | ||
var inlinePaddingMediaQueries = exports.inlinePaddingMediaQueries = Object.values((0, _responsive.UNSAFE_buildAboveMediaQueryCSS)(function (breakpoint) { | ||
return { | ||
paddingInline: _responsive.UNSAFE_BREAKPOINTS_CONFIG[breakpoint].gridMargin | ||
}; | ||
})); | ||
exports.inlinePaddingMediaQueries = inlinePaddingMediaQueries; | ||
})); |
@@ -51,3 +51,3 @@ "use strict"; | ||
*/ | ||
var Grid = function Grid(_ref) { | ||
var Grid = exports.Grid = function Grid(_ref) { | ||
var testId = _ref.testId, | ||
@@ -72,3 +72,2 @@ children = _ref.children, | ||
}, children)); | ||
}; | ||
exports.Grid = Grid; | ||
}; |
@@ -5,4 +5,4 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
/** @jsx jsx */ | ||
@@ -9,0 +9,0 @@ import { useMemo } from 'react'; |
{ | ||
"name": "@atlaskit/grid", | ||
"version": "0.11.10", | ||
"version": "0.11.11", | ||
"description": "A responsive layout grid is a component designed to manage the content of a page.", | ||
@@ -29,3 +29,3 @@ "publishConfig": { | ||
"dependencies": { | ||
"@atlaskit/primitives": "^1.0.6", | ||
"@atlaskit/primitives": "^1.13.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -40,3 +40,2 @@ "@emotion/react": "^11.7.1", | ||
"@af/visual-regression": "*", | ||
"@atlaskit/primitives": "^1.0.6", | ||
"@atlaskit/table": "*", | ||
@@ -43,0 +42,0 @@ "@atlaskit/visual-regression": "*", |
56935
6
42
1193
Updated@atlaskit/primitives@^1.13.0