@workday/canvas-kit-react 8.0.0-alpha.192-next.1 → 8.0.0-alpha.194-next.2
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/dist/commonjs/layout/index.d.ts +3 -3
- package/dist/commonjs/layout/index.d.ts.map +1 -1
- package/dist/commonjs/layout/index.js +3 -3
- package/dist/commonjs/layout/lib/Column.d.ts +13 -4
- package/dist/commonjs/layout/lib/Column.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Column.js +10 -7
- package/dist/commonjs/layout/lib/Layout.d.ts +26 -9
- package/dist/commonjs/layout/lib/Layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Layout.js +21 -10
- package/dist/es6/layout/index.d.ts +3 -3
- package/dist/es6/layout/index.d.ts.map +1 -1
- package/dist/es6/layout/index.js +3 -3
- package/dist/es6/layout/lib/Column.d.ts +13 -4
- package/dist/es6/layout/lib/Column.d.ts.map +1 -1
- package/dist/es6/layout/lib/Column.js +9 -6
- package/dist/es6/layout/lib/Layout.d.ts +26 -9
- package/dist/es6/layout/lib/Layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/Layout.js +21 -10
- package/layout/README.md +28 -27
- package/layout/index.ts +3 -3
- package/layout/lib/Column.tsx +22 -5
- package/layout/lib/Layout.tsx +37 -12
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { DeprecatedLayout } from './lib/Layout';
|
|
2
|
+
import { DeprecatedColumn } from './lib/Column';
|
|
3
|
+
export { DeprecatedLayout, DeprecatedColumn };
|
|
4
4
|
export * from './lib/Box';
|
|
5
5
|
export * from './lib/utils/border';
|
|
6
6
|
export * from './lib/utils/color';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAC,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.
|
|
13
|
+
exports.DeprecatedColumn = exports.DeprecatedLayout = void 0;
|
|
14
14
|
var Layout_1 = require("./lib/Layout");
|
|
15
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "DeprecatedLayout", { enumerable: true, get: function () { return Layout_1.DeprecatedLayout; } });
|
|
16
16
|
var Column_1 = require("./lib/Column");
|
|
17
|
-
Object.defineProperty(exports, "
|
|
17
|
+
Object.defineProperty(exports, "DeprecatedColumn", { enumerable: true, get: function () { return Column_1.DeprecatedColumn; } });
|
|
18
18
|
__exportStar(require("./lib/Box"), exports);
|
|
19
19
|
__exportStar(require("./lib/utils/border"), exports);
|
|
20
20
|
__exportStar(require("./lib/utils/color"), exports);
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* ### Deprecated Layout Column Props
|
|
4
|
+
*
|
|
5
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
6
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
7
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
8
|
+
* for more information.
|
|
9
|
+
*/
|
|
10
|
+
export interface DeprecatedColumnProps {
|
|
3
11
|
/**
|
|
4
|
-
* The children of the
|
|
12
|
+
* The children of the DeprecatedColumn (cannot be empty).
|
|
5
13
|
*/
|
|
6
14
|
children?: React.ReactNode;
|
|
7
15
|
/**
|
|
8
|
-
* The left and right padding of the
|
|
16
|
+
* The left and right padding of the DeprecatedColumn (inherits from Layout prop).
|
|
9
17
|
* @default 12
|
|
10
18
|
*/
|
|
11
19
|
spacing?: number;
|
|
@@ -18,7 +26,8 @@ export interface ColumnProps {
|
|
|
18
26
|
*/
|
|
19
27
|
width?: number | string;
|
|
20
28
|
}
|
|
21
|
-
export declare class
|
|
29
|
+
export declare class DeprecatedColumn extends React.Component<DeprecatedColumnProps> {
|
|
30
|
+
componentDidMount(): void;
|
|
22
31
|
render(): JSX.Element;
|
|
23
32
|
}
|
|
24
33
|
//# sourceMappingURL=Column.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Column.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Column.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAsCD,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAC1E,iBAAiB;IASV,MAAM;CASd"}
|
|
@@ -57,7 +57,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
57
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
58
58
|
};
|
|
59
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
-
exports.
|
|
60
|
+
exports.DeprecatedColumn = void 0;
|
|
61
61
|
var React = __importStar(require("react"));
|
|
62
62
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
63
63
|
var is_prop_valid_1 = __importDefault(require("@emotion/is-prop-valid"));
|
|
@@ -92,15 +92,18 @@ var ColumnContainer = styled_1.default('div', {
|
|
|
92
92
|
}
|
|
93
93
|
return { flex: 1 };
|
|
94
94
|
});
|
|
95
|
-
var
|
|
96
|
-
__extends(
|
|
97
|
-
function
|
|
95
|
+
var DeprecatedColumn = /** @class */ (function (_super) {
|
|
96
|
+
__extends(DeprecatedColumn, _super);
|
|
97
|
+
function DeprecatedColumn() {
|
|
98
98
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
DeprecatedColumn.prototype.componentDidMount = function () {
|
|
101
|
+
console.warn("This component is being deprecated and will be removed in Canvas Kit V9.\n\n For more information, please see the V8 upgrade guide:\n\n https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page\n ");
|
|
102
|
+
};
|
|
103
|
+
DeprecatedColumn.prototype.render = function () {
|
|
101
104
|
var _a = this.props, children = _a.children, spacing = _a.spacing, columns = _a.columns, width = _a.width, elemProps = __rest(_a, ["children", "spacing", "columns", "width"]);
|
|
102
105
|
return (React.createElement(ColumnContainer, __assign({ spacing: spacing, columns: columns, width: width }, elemProps), children));
|
|
103
106
|
};
|
|
104
|
-
return
|
|
107
|
+
return DeprecatedColumn;
|
|
105
108
|
}(React.Component));
|
|
106
|
-
exports.
|
|
109
|
+
exports.DeprecatedColumn = DeprecatedColumn;
|
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { DeprecatedColumn, DeprecatedColumnProps } from './Column';
|
|
3
|
+
/**
|
|
4
|
+
* ### Deprecated Layout Props
|
|
5
|
+
*
|
|
6
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
7
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
8
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
9
|
+
* for more information.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeprecatedLayoutProps {
|
|
4
12
|
/**
|
|
5
|
-
* The children of the
|
|
13
|
+
* The children of the DeprecatedLayout (cannot be empty).
|
|
6
14
|
*/
|
|
7
|
-
children: React.ReactElement<
|
|
15
|
+
children: React.ReactElement<DeprecatedColumnProps>[] | React.ReactNode;
|
|
8
16
|
/**
|
|
9
|
-
* The spacing of the
|
|
17
|
+
* The spacing of the DeprecatedLayout children.
|
|
10
18
|
*/
|
|
11
19
|
spacing?: number;
|
|
12
20
|
/**
|
|
13
|
-
* The padding of the
|
|
21
|
+
* The padding of the DeprecatedLayout's outside container.
|
|
14
22
|
* @default 12
|
|
15
23
|
*/
|
|
16
24
|
gutter?: number | string;
|
|
17
25
|
/**
|
|
18
|
-
* If true, set the max width of the
|
|
26
|
+
* If true, set the max width of the DeprecatedLayout container to `1280px`.
|
|
19
27
|
* @default false
|
|
20
28
|
*/
|
|
21
29
|
capWidth?: boolean;
|
|
22
30
|
}
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
/**
|
|
32
|
+
* ### Deprecated Layout
|
|
33
|
+
*
|
|
34
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
35
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
36
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
37
|
+
* for more information.
|
|
38
|
+
*/
|
|
39
|
+
export declare class DeprecatedLayout extends React.Component<DeprecatedLayoutProps> {
|
|
40
|
+
componentDidMount(): void;
|
|
41
|
+
static Column: typeof DeprecatedColumn;
|
|
25
42
|
private renderChild;
|
|
26
43
|
render(): JSX.Element;
|
|
27
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,gBAAgB,EAAE,qBAAqB,EAAC,MAAM,UAAU,CAAC;AAIjE;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,qBAAqB,CAAC,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkCD;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAC1E,iBAAiB;IASjB,OAAc,MAAM,0BAAoB;IAExC,OAAO,CAAC,WAAW,CAgBjB;IAEK,MAAM;CAed"}
|
|
@@ -57,7 +57,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
57
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
58
58
|
};
|
|
59
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
-
exports.
|
|
60
|
+
exports.DeprecatedLayout = void 0;
|
|
61
61
|
var React = __importStar(require("react"));
|
|
62
62
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
63
63
|
var Column_1 = require("./Column");
|
|
@@ -89,15 +89,23 @@ var LayoutContainer = styled_1.default('div', {
|
|
|
89
89
|
margin: '0 auto',
|
|
90
90
|
};
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
/**
|
|
93
|
+
* ### Deprecated Layout
|
|
94
|
+
*
|
|
95
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
96
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
97
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
98
|
+
* for more information.
|
|
99
|
+
*/
|
|
100
|
+
var DeprecatedLayout = /** @class */ (function (_super) {
|
|
101
|
+
__extends(DeprecatedLayout, _super);
|
|
102
|
+
function DeprecatedLayout() {
|
|
95
103
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
96
104
|
_this.renderChild = function (child, spacing) {
|
|
97
105
|
if (!React.isValidElement(child)) {
|
|
98
106
|
return;
|
|
99
107
|
}
|
|
100
|
-
if (child.type === Column_1.
|
|
108
|
+
if (child.type === Column_1.DeprecatedColumn) {
|
|
101
109
|
var childProps = child.props;
|
|
102
110
|
if (childProps.spacing || childProps.spacing === 0) {
|
|
103
111
|
return child;
|
|
@@ -108,13 +116,16 @@ var Layout = /** @class */ (function (_super) {
|
|
|
108
116
|
};
|
|
109
117
|
return _this;
|
|
110
118
|
}
|
|
111
|
-
|
|
119
|
+
DeprecatedLayout.prototype.componentDidMount = function () {
|
|
120
|
+
console.warn("This component is being deprecated and will be removed in Canvas Kit V9.\n\n For more information, please see the V8 upgrade guide:\n\n https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page\n ");
|
|
121
|
+
};
|
|
122
|
+
DeprecatedLayout.prototype.render = function () {
|
|
112
123
|
var _this = this;
|
|
113
124
|
var _a = this.props, _b = _a.gutter, gutter = _b === void 0 ? tokens_1.canvas.space.xs : _b, _c = _a.spacing, spacing = _c === void 0 ? tokens_1.spaceNumbers.xs : _c, children = _a.children, capWidth = _a.capWidth, elemProps = __rest(_a, ["gutter", "spacing", "children", "capWidth"]);
|
|
114
125
|
return (React.createElement(LayoutContainer, __assign({ spacing: spacing, gutter: gutter, capWidth: capWidth }, elemProps), React.Children.map(children, function (child) { return _this.renderChild(child, spacing); })));
|
|
115
126
|
};
|
|
116
|
-
|
|
117
|
-
return
|
|
127
|
+
DeprecatedLayout.Column = Column_1.DeprecatedColumn;
|
|
128
|
+
return DeprecatedLayout;
|
|
118
129
|
}(React.Component));
|
|
119
|
-
exports.
|
|
120
|
-
|
|
130
|
+
exports.DeprecatedLayout = DeprecatedLayout;
|
|
131
|
+
DeprecatedLayout.Column = Column_1.DeprecatedColumn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { DeprecatedLayout } from './lib/Layout';
|
|
2
|
+
import { DeprecatedColumn } from './lib/Column';
|
|
3
|
+
export { DeprecatedLayout, DeprecatedColumn };
|
|
4
4
|
export * from './lib/Box';
|
|
5
5
|
export * from './lib/utils/border';
|
|
6
6
|
export * from './lib/utils/color';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAC,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/es6/layout/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { DeprecatedLayout } from './lib/Layout';
|
|
2
|
+
import { DeprecatedColumn } from './lib/Column';
|
|
3
|
+
export { DeprecatedLayout, DeprecatedColumn };
|
|
4
4
|
export * from './lib/Box';
|
|
5
5
|
export * from './lib/utils/border';
|
|
6
6
|
export * from './lib/utils/color';
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* ### Deprecated Layout Column Props
|
|
4
|
+
*
|
|
5
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
6
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
7
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
8
|
+
* for more information.
|
|
9
|
+
*/
|
|
10
|
+
export interface DeprecatedColumnProps {
|
|
3
11
|
/**
|
|
4
|
-
* The children of the
|
|
12
|
+
* The children of the DeprecatedColumn (cannot be empty).
|
|
5
13
|
*/
|
|
6
14
|
children?: React.ReactNode;
|
|
7
15
|
/**
|
|
8
|
-
* The left and right padding of the
|
|
16
|
+
* The left and right padding of the DeprecatedColumn (inherits from Layout prop).
|
|
9
17
|
* @default 12
|
|
10
18
|
*/
|
|
11
19
|
spacing?: number;
|
|
@@ -18,7 +26,8 @@ export interface ColumnProps {
|
|
|
18
26
|
*/
|
|
19
27
|
width?: number | string;
|
|
20
28
|
}
|
|
21
|
-
export declare class
|
|
29
|
+
export declare class DeprecatedColumn extends React.Component<DeprecatedColumnProps> {
|
|
30
|
+
componentDidMount(): void;
|
|
22
31
|
render(): JSX.Element;
|
|
23
32
|
}
|
|
24
33
|
//# sourceMappingURL=Column.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Column.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Column.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Column.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC3D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAsCD,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAC1E,iBAAiB;IASV,MAAM;CASd"}
|
|
@@ -67,15 +67,18 @@ var ColumnContainer = styled('div', {
|
|
|
67
67
|
}
|
|
68
68
|
return { flex: 1 };
|
|
69
69
|
});
|
|
70
|
-
var
|
|
71
|
-
__extends(
|
|
72
|
-
function
|
|
70
|
+
var DeprecatedColumn = /** @class */ (function (_super) {
|
|
71
|
+
__extends(DeprecatedColumn, _super);
|
|
72
|
+
function DeprecatedColumn() {
|
|
73
73
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
DeprecatedColumn.prototype.componentDidMount = function () {
|
|
76
|
+
console.warn("This component is being deprecated and will be removed in Canvas Kit V9.\n\n For more information, please see the V8 upgrade guide:\n\n https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page\n ");
|
|
77
|
+
};
|
|
78
|
+
DeprecatedColumn.prototype.render = function () {
|
|
76
79
|
var _a = this.props, children = _a.children, spacing = _a.spacing, columns = _a.columns, width = _a.width, elemProps = __rest(_a, ["children", "spacing", "columns", "width"]);
|
|
77
80
|
return (React.createElement(ColumnContainer, __assign({ spacing: spacing, columns: columns, width: width }, elemProps), children));
|
|
78
81
|
};
|
|
79
|
-
return
|
|
82
|
+
return DeprecatedColumn;
|
|
80
83
|
}(React.Component));
|
|
81
|
-
export {
|
|
84
|
+
export { DeprecatedColumn };
|
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { DeprecatedColumn, DeprecatedColumnProps } from './Column';
|
|
3
|
+
/**
|
|
4
|
+
* ### Deprecated Layout Props
|
|
5
|
+
*
|
|
6
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
7
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
8
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
9
|
+
* for more information.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeprecatedLayoutProps {
|
|
4
12
|
/**
|
|
5
|
-
* The children of the
|
|
13
|
+
* The children of the DeprecatedLayout (cannot be empty).
|
|
6
14
|
*/
|
|
7
|
-
children: React.ReactElement<
|
|
15
|
+
children: React.ReactElement<DeprecatedColumnProps>[] | React.ReactNode;
|
|
8
16
|
/**
|
|
9
|
-
* The spacing of the
|
|
17
|
+
* The spacing of the DeprecatedLayout children.
|
|
10
18
|
*/
|
|
11
19
|
spacing?: number;
|
|
12
20
|
/**
|
|
13
|
-
* The padding of the
|
|
21
|
+
* The padding of the DeprecatedLayout's outside container.
|
|
14
22
|
* @default 12
|
|
15
23
|
*/
|
|
16
24
|
gutter?: number | string;
|
|
17
25
|
/**
|
|
18
|
-
* If true, set the max width of the
|
|
26
|
+
* If true, set the max width of the DeprecatedLayout container to `1280px`.
|
|
19
27
|
* @default false
|
|
20
28
|
*/
|
|
21
29
|
capWidth?: boolean;
|
|
22
30
|
}
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
/**
|
|
32
|
+
* ### Deprecated Layout
|
|
33
|
+
*
|
|
34
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
35
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
36
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
37
|
+
* for more information.
|
|
38
|
+
*/
|
|
39
|
+
export declare class DeprecatedLayout extends React.Component<DeprecatedLayoutProps> {
|
|
40
|
+
componentDidMount(): void;
|
|
41
|
+
static Column: typeof DeprecatedColumn;
|
|
25
42
|
private renderChild;
|
|
26
43
|
render(): JSX.Element;
|
|
27
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,gBAAgB,EAAE,qBAAqB,EAAC,MAAM,UAAU,CAAC;AAIjE;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,qBAAqB,CAAC,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkCD;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAC1E,iBAAiB;IASjB,OAAc,MAAM,0BAAoB;IAExC,OAAO,CAAC,WAAW,CAgBjB;IAEK,MAAM;CAed"}
|
|
@@ -35,7 +35,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
35
35
|
};
|
|
36
36
|
import * as React from 'react';
|
|
37
37
|
import styled from '@emotion/styled';
|
|
38
|
-
import {
|
|
38
|
+
import { DeprecatedColumn } from './Column';
|
|
39
39
|
import { canvas, spaceNumbers } from '@workday/canvas-kit-react/tokens';
|
|
40
40
|
import isPropValid from '@emotion/is-prop-valid';
|
|
41
41
|
var LayoutStyles = {
|
|
@@ -64,15 +64,23 @@ var LayoutContainer = styled('div', {
|
|
|
64
64
|
margin: '0 auto',
|
|
65
65
|
};
|
|
66
66
|
});
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
/**
|
|
68
|
+
* ### Deprecated Layout
|
|
69
|
+
*
|
|
70
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
71
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
72
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
73
|
+
* for more information.
|
|
74
|
+
*/
|
|
75
|
+
var DeprecatedLayout = /** @class */ (function (_super) {
|
|
76
|
+
__extends(DeprecatedLayout, _super);
|
|
77
|
+
function DeprecatedLayout() {
|
|
70
78
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
71
79
|
_this.renderChild = function (child, spacing) {
|
|
72
80
|
if (!React.isValidElement(child)) {
|
|
73
81
|
return;
|
|
74
82
|
}
|
|
75
|
-
if (child.type ===
|
|
83
|
+
if (child.type === DeprecatedColumn) {
|
|
76
84
|
var childProps = child.props;
|
|
77
85
|
if (childProps.spacing || childProps.spacing === 0) {
|
|
78
86
|
return child;
|
|
@@ -83,13 +91,16 @@ var Layout = /** @class */ (function (_super) {
|
|
|
83
91
|
};
|
|
84
92
|
return _this;
|
|
85
93
|
}
|
|
86
|
-
|
|
94
|
+
DeprecatedLayout.prototype.componentDidMount = function () {
|
|
95
|
+
console.warn("This component is being deprecated and will be removed in Canvas Kit V9.\n\n For more information, please see the V8 upgrade guide:\n\n https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page\n ");
|
|
96
|
+
};
|
|
97
|
+
DeprecatedLayout.prototype.render = function () {
|
|
87
98
|
var _this = this;
|
|
88
99
|
var _a = this.props, _b = _a.gutter, gutter = _b === void 0 ? canvas.space.xs : _b, _c = _a.spacing, spacing = _c === void 0 ? spaceNumbers.xs : _c, children = _a.children, capWidth = _a.capWidth, elemProps = __rest(_a, ["gutter", "spacing", "children", "capWidth"]);
|
|
89
100
|
return (React.createElement(LayoutContainer, __assign({ spacing: spacing, gutter: gutter, capWidth: capWidth }, elemProps), React.Children.map(children, function (child) { return _this.renderChild(child, spacing); })));
|
|
90
101
|
};
|
|
91
|
-
|
|
92
|
-
return
|
|
102
|
+
DeprecatedLayout.Column = DeprecatedColumn;
|
|
103
|
+
return DeprecatedLayout;
|
|
93
104
|
}(React.Component));
|
|
94
|
-
export {
|
|
95
|
-
|
|
105
|
+
export { DeprecatedLayout };
|
|
106
|
+
DeprecatedLayout.Column = DeprecatedColumn;
|
package/layout/README.md
CHANGED
|
@@ -14,26 +14,27 @@ For more detailed information on this component, please refer to the
|
|
|
14
14
|
# Canvas Kit Layout
|
|
15
15
|
|
|
16
16
|
The layout component is used to create layouts for your application. The component comes with the
|
|
17
|
-
`
|
|
18
|
-
different workday specific layouts. Layouts should be used to create the main layout
|
|
17
|
+
`DeprecatedLayout` and `DeprecatedColumn` component. Layout and Columns can be utilized to create a
|
|
18
|
+
combination of different workday specific layouts. Layouts should be used to create the main layout
|
|
19
|
+
on the page.
|
|
19
20
|
|
|
20
|
-
# Layout
|
|
21
|
+
# Layout (deprecated)
|
|
21
22
|
|
|
22
23
|
> Layout Container
|
|
23
24
|
|
|
24
25
|
## Usage
|
|
25
26
|
|
|
26
27
|
```tsx
|
|
27
|
-
import {
|
|
28
|
+
import {DeprecatedLayout} from '@workday/canvas-kit-react/layout';
|
|
28
29
|
|
|
29
30
|
// Basic
|
|
30
|
-
<
|
|
31
|
+
<DeprecatedLayout>...</DeprecatedLayout>
|
|
31
32
|
|
|
32
33
|
// No spacing and no gutter
|
|
33
|
-
<
|
|
34
|
+
<DeprecatedLayout gutter={0} spacing={0}>...</DeprecatedLayout>
|
|
34
35
|
|
|
35
36
|
// Layout with a max container width
|
|
36
|
-
<
|
|
37
|
+
<DeprecatedLayout capWidth={true}>...</DeprecatedLayout>
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
## Static Properties
|
|
@@ -70,39 +71,39 @@ Default: `12`
|
|
|
70
71
|
|
|
71
72
|
---
|
|
72
73
|
|
|
73
|
-
# Column
|
|
74
|
+
# Column (deprecated)
|
|
74
75
|
|
|
75
76
|
> The column acts as a pillar for building layouts. Columns widths can be fluid, 12 columns, or a
|
|
76
|
-
> fixed. Columns should be used exclusively with `
|
|
77
|
-
> and `columns` props are mutually exclusive. The `width` prop will take precedence over the
|
|
77
|
+
> fixed. Columns should be used exclusively with `DeprecatedLayout` to build the main page layouts.
|
|
78
|
+
> `width` and `columns` props are mutually exclusive. The `width` prop will take precedence over the
|
|
78
79
|
> `columns` prop.
|
|
79
80
|
|
|
80
81
|
```tsx
|
|
81
|
-
import {
|
|
82
|
+
import {DeprecatedLayout} from '@workday/canvas-kit-react/layout';
|
|
82
83
|
|
|
83
84
|
// Fluid layouts
|
|
84
|
-
<
|
|
85
|
-
<
|
|
86
|
-
<
|
|
87
|
-
</
|
|
85
|
+
<DeprecatedLayout>
|
|
86
|
+
<DeprecatedLayout.Column />
|
|
87
|
+
<DeprecatedLayout.Column />
|
|
88
|
+
</DeprecatedLayout>
|
|
88
89
|
|
|
89
90
|
// 12 column layouts
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
</
|
|
91
|
+
<DeprecatedLayout>
|
|
92
|
+
<DeprecatedLayout.Column columns={4}/>
|
|
93
|
+
<DeprecatedLayout.Column columns={8}/>
|
|
94
|
+
</DeprecatedLayout>
|
|
94
95
|
|
|
95
96
|
// Fixed column width
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
</
|
|
97
|
+
<DeprecatedLayout>
|
|
98
|
+
<DeprecatedLayout.Column width={'400px'}/>
|
|
99
|
+
<DeprecatedLayout.Column columns={8}/>
|
|
100
|
+
</DeprecatedLayout>
|
|
100
101
|
|
|
101
102
|
// Custom spacing
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<
|
|
105
|
-
</
|
|
103
|
+
<DeprecatedLayout>
|
|
104
|
+
<DeprecatedLayout.Column spacing={0}/>
|
|
105
|
+
<DeprecatedLayout.Column />
|
|
106
|
+
</DeprecatedLayout>
|
|
106
107
|
```
|
|
107
108
|
|
|
108
109
|
## Static Properties
|
package/layout/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {DeprecatedLayout} from './lib/Layout';
|
|
2
|
+
import {DeprecatedColumn} from './lib/Column';
|
|
3
3
|
|
|
4
|
-
export {
|
|
4
|
+
export { DeprecatedLayout, DeprecatedColumn};
|
|
5
5
|
export * from './lib/Box';
|
|
6
6
|
export * from './lib/utils/border';
|
|
7
7
|
export * from './lib/utils/color';
|
package/layout/lib/Column.tsx
CHANGED
|
@@ -2,13 +2,21 @@ import * as React from 'react';
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import isPropValid from '@emotion/is-prop-valid';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* ### Deprecated Layout Column Props
|
|
7
|
+
*
|
|
8
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
9
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
10
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
11
|
+
* for more information.
|
|
12
|
+
*/
|
|
13
|
+
export interface DeprecatedColumnProps {
|
|
6
14
|
/**
|
|
7
|
-
* The children of the
|
|
15
|
+
* The children of the DeprecatedColumn (cannot be empty).
|
|
8
16
|
*/
|
|
9
17
|
children?: React.ReactNode;
|
|
10
18
|
/**
|
|
11
|
-
* The left and right padding of the
|
|
19
|
+
* The left and right padding of the DeprecatedColumn (inherits from Layout prop).
|
|
12
20
|
* @default 12
|
|
13
21
|
*/
|
|
14
22
|
spacing?: number;
|
|
@@ -24,7 +32,7 @@ export interface ColumnProps {
|
|
|
24
32
|
|
|
25
33
|
const ColumnContainer = styled('div', {
|
|
26
34
|
shouldForwardProp: prop => isPropValid(prop) && prop !== 'spacing',
|
|
27
|
-
})<
|
|
35
|
+
})<DeprecatedColumnProps>(
|
|
28
36
|
{
|
|
29
37
|
'&:first-of-type': {
|
|
30
38
|
paddingLeft: 0,
|
|
@@ -58,7 +66,16 @@ const ColumnContainer = styled('div', {
|
|
|
58
66
|
}
|
|
59
67
|
);
|
|
60
68
|
|
|
61
|
-
export class
|
|
69
|
+
export class DeprecatedColumn extends React.Component<DeprecatedColumnProps> {
|
|
70
|
+
componentDidMount() {
|
|
71
|
+
console.warn(
|
|
72
|
+
`This component is being deprecated and will be removed in Canvas Kit V9.\n
|
|
73
|
+
For more information, please see the V8 upgrade guide:\n
|
|
74
|
+
https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page
|
|
75
|
+
`
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
62
79
|
public render() {
|
|
63
80
|
const {children, spacing, columns, width, ...elemProps} = this.props;
|
|
64
81
|
|
package/layout/lib/Layout.tsx
CHANGED
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import {GenericStyle} from '@workday/canvas-kit-react/common';
|
|
4
|
-
import {
|
|
4
|
+
import {DeprecatedColumn, DeprecatedColumnProps} from './Column';
|
|
5
5
|
import {canvas, spaceNumbers} from '@workday/canvas-kit-react/tokens';
|
|
6
6
|
import isPropValid from '@emotion/is-prop-valid';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* ### Deprecated Layout Props
|
|
10
|
+
*
|
|
11
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
12
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
13
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
14
|
+
* for more information.
|
|
15
|
+
*/
|
|
16
|
+
export interface DeprecatedLayoutProps {
|
|
9
17
|
/**
|
|
10
|
-
* The children of the
|
|
18
|
+
* The children of the DeprecatedLayout (cannot be empty).
|
|
11
19
|
*/
|
|
12
|
-
children: React.ReactElement<
|
|
20
|
+
children: React.ReactElement<DeprecatedColumnProps>[] | React.ReactNode;
|
|
13
21
|
/**
|
|
14
|
-
* The spacing of the
|
|
22
|
+
* The spacing of the DeprecatedLayout children.
|
|
15
23
|
*/
|
|
16
24
|
spacing?: number;
|
|
17
25
|
/**
|
|
18
|
-
* The padding of the
|
|
26
|
+
* The padding of the DeprecatedLayout's outside container.
|
|
19
27
|
* @default 12
|
|
20
28
|
*/
|
|
21
29
|
gutter?: number | string;
|
|
22
30
|
/**
|
|
23
|
-
* If true, set the max width of the
|
|
31
|
+
* If true, set the max width of the DeprecatedLayout container to `1280px`.
|
|
24
32
|
* @default false
|
|
25
33
|
*/
|
|
26
34
|
capWidth?: boolean;
|
|
@@ -37,7 +45,7 @@ const LayoutStyles: GenericStyle = {
|
|
|
37
45
|
|
|
38
46
|
const LayoutContainer = styled('div', {
|
|
39
47
|
shouldForwardProp: prop => isPropValid(prop) && prop !== 'spacing',
|
|
40
|
-
})<
|
|
48
|
+
})<DeprecatedLayoutProps>(
|
|
41
49
|
LayoutStyles.styles,
|
|
42
50
|
({gutter}) => {
|
|
43
51
|
if (gutter === 0) {
|
|
@@ -58,15 +66,32 @@ const LayoutContainer = styled('div', {
|
|
|
58
66
|
}
|
|
59
67
|
);
|
|
60
68
|
|
|
61
|
-
|
|
62
|
-
|
|
69
|
+
/**
|
|
70
|
+
* ### Deprecated Layout
|
|
71
|
+
*
|
|
72
|
+
* As of Canvas Kit v8, Layout is being soft-deprecated.
|
|
73
|
+
* It will be hard-deprecated (completely removed) in v9. Please see the
|
|
74
|
+
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
75
|
+
* for more information.
|
|
76
|
+
*/
|
|
77
|
+
export class DeprecatedLayout extends React.Component<DeprecatedLayoutProps> {
|
|
78
|
+
componentDidMount() {
|
|
79
|
+
console.warn(
|
|
80
|
+
`This component is being deprecated and will be removed in Canvas Kit V9.\n
|
|
81
|
+
For more information, please see the V8 upgrade guide:\n
|
|
82
|
+
https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page
|
|
83
|
+
`
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public static Column = DeprecatedColumn;
|
|
63
88
|
|
|
64
89
|
private renderChild = (child: React.ReactNode, spacing: number): React.ReactNode => {
|
|
65
90
|
if (!React.isValidElement(child)) {
|
|
66
91
|
return;
|
|
67
92
|
}
|
|
68
93
|
|
|
69
|
-
if (child.type ===
|
|
94
|
+
if (child.type === DeprecatedColumn) {
|
|
70
95
|
const childProps = child.props;
|
|
71
96
|
|
|
72
97
|
if (childProps.spacing || childProps.spacing === 0) {
|
|
@@ -96,4 +121,4 @@ export class Layout extends React.Component<LayoutProps> {
|
|
|
96
121
|
}
|
|
97
122
|
}
|
|
98
123
|
|
|
99
|
-
|
|
124
|
+
DeprecatedLayout.Column = DeprecatedColumn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.194-next.2+bc1f2fe6",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@emotion/styled": "^11.6.0",
|
|
50
50
|
"@popperjs/core": "^2.5.4",
|
|
51
51
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^8.0.0-alpha.
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^8.0.0-alpha.194-next.2+bc1f2fe6",
|
|
53
53
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
54
54
|
"@workday/design-assets-types": "^0.2.8",
|
|
55
55
|
"chroma-js": "^2.1.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
69
69
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "bc1f2fe6cdb9fccd4592698f6c1cdad5a64e84de"
|
|
72
72
|
}
|