@atlaskit/page
Advanced tools
Comparing version 11.0.9 to 11.0.10
# @atlaskit/page | ||
## 11.0.10 | ||
### Patch Changes | ||
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [6dccb16bfc](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dccb16bfc): | ||
- Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5): | ||
- @atlaskit/toggle@8.1.3 | ||
- @atlaskit/banner@10.1.3 | ||
- @atlaskit/button@13.3.5 | ||
## 11.0.9 | ||
@@ -4,0 +17,0 @@ |
@@ -8,6 +8,7 @@ import React, { ReactNode } from 'react'; | ||
theme?: ThemeProps; | ||
testId?: string; | ||
} | ||
declare const _default: React.ComponentClass<Pick<Props, "children" | "spacing" | "layout"> & { | ||
declare const _default: React.ComponentClass<Pick<Props, "children" | "spacing" | "layout" | "testId"> & { | ||
theme?: unknown; | ||
}, any>; | ||
export default _default; |
@@ -28,4 +28,5 @@ "use strict"; | ||
AkGrid.prototype.render = function () { | ||
var _a = this.props, layout = _a.layout, spacing = _a.spacing, testId = _a.testId; | ||
return (react_1.default.createElement(styled_components_1.ThemeProvider, { theme: this.getTheme(this.props) }, | ||
react_1.default.createElement(GridElement_1.default, { spacing: this.props.spacing, layout: this.props.layout }, this.props.children))); | ||
react_1.default.createElement(GridElement_1.default, { "data-testid": testId, spacing: spacing, layout: layout }, this.props.children))); | ||
}; | ||
@@ -32,0 +33,0 @@ return AkGrid; |
{ | ||
"name": "@atlaskit/page", | ||
"version": "11.0.9", | ||
"version": "11.0.10", | ||
"sideEffects": false | ||
} |
@@ -8,6 +8,7 @@ import React, { ReactNode } from 'react'; | ||
theme?: ThemeProps; | ||
testId?: string; | ||
} | ||
declare const _default: React.ComponentClass<Pick<Props, "children" | "spacing" | "layout"> & { | ||
declare const _default: React.ComponentClass<Pick<Props, "children" | "spacing" | "layout" | "testId"> & { | ||
theme?: unknown; | ||
}, any>; | ||
export default _default; |
@@ -25,4 +25,5 @@ var _a; | ||
AkGrid.prototype.render = function () { | ||
var _a = this.props, layout = _a.layout, spacing = _a.spacing, testId = _a.testId; | ||
return (React.createElement(ThemeProvider, { theme: this.getTheme(this.props) }, | ||
React.createElement(Grid, { spacing: this.props.spacing, layout: this.props.layout }, this.props.children))); | ||
React.createElement(Grid, { "data-testid": testId, spacing: spacing, layout: layout }, this.props.children))); | ||
}; | ||
@@ -29,0 +30,0 @@ return AkGrid; |
{ | ||
"name": "@atlaskit/page", | ||
"version": "11.0.9", | ||
"version": "11.0.10", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/page", | ||
"version": "11.0.9", | ||
"version": "11.0.10", | ||
"description": "A component for building page layouts. Also includes the Grid and GridColumn components.", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"repository": "https://bitbucket.org/atlassian/atlaskit-mk-2", | ||
@@ -25,3 +28,2 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0", | ||
"tslib": "^1.9.3" | ||
@@ -34,5 +36,5 @@ }, | ||
"devDependencies": { | ||
"@atlaskit/banner": "^10.1.1", | ||
"@atlaskit/banner": "^10.1.3", | ||
"@atlaskit/build-utils": "^2.2.5", | ||
"@atlaskit/button": "^13.3.3", | ||
"@atlaskit/button": "^13.3.5", | ||
"@atlaskit/docs": "^8.1.8", | ||
@@ -42,5 +44,5 @@ "@atlaskit/logo": "^12.2.1", | ||
"@atlaskit/ssr": "^0.1.1", | ||
"@atlaskit/toggle": "^8.1.2", | ||
"@atlaskit/toggle": "^8.1.3", | ||
"@atlaskit/visual-regression": "^0.1.3", | ||
"enzyme": "^3.7.0", | ||
"enzyme": "^3.10.0", | ||
"react-dom": "^16.8.0", | ||
@@ -56,2 +58,2 @@ "react-lorem-component": "^0.12.2", | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
65442
3
673
- Removed@babel/runtime@^7.0.0
- Removed@babel/runtime@7.26.7(transitive)
- Removedregenerator-runtime@0.14.1(transitive)