@workday/canvas-kit-react 7.0.0-alpha.91-next.18 → 7.0.0-alpha.92-next.19
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/lib/Flex.d.ts +1 -1
- package/dist/commonjs/layout/lib/Flex.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Flex.js +2 -2
- package/dist/commonjs/layout/lib/Stack.js +2 -2
- package/dist/es6/layout/lib/Flex.d.ts +1 -1
- package/dist/es6/layout/lib/Flex.d.ts.map +1 -1
- package/dist/es6/layout/lib/Flex.js +1 -1
- package/dist/es6/layout/lib/Stack.js +1 -1
- package/layout/lib/Flex.tsx +1 -1
- package/layout/lib/Stack.tsx +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAO,cAAc,EAAC,MAAM,cAAc,CAAC;AAElD,oBAAY,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;AASlD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,IAAI,gnBASf,CAAC"}
|
|
@@ -48,9 +48,9 @@ exports.Flex = void 0;
|
|
|
48
48
|
var React = __importStar(require("react"));
|
|
49
49
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
50
50
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
51
|
-
var
|
|
51
|
+
var Box_1 = require("./Box");
|
|
52
52
|
var flex_1 = require("./utils/flex");
|
|
53
|
-
var StyledFlex = styled_1.default(
|
|
53
|
+
var StyledFlex = styled_1.default(Box_1.Box)({
|
|
54
54
|
display: 'flex',
|
|
55
55
|
}, flex_1.flex);
|
|
56
56
|
/**
|
|
@@ -48,7 +48,7 @@ exports.VStack = exports.HStack = exports.Stack = void 0;
|
|
|
48
48
|
var React = __importStar(require("react"));
|
|
49
49
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
50
50
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
51
|
-
var
|
|
51
|
+
var Box_1 = require("./Box");
|
|
52
52
|
var Flex_1 = require("./Flex");
|
|
53
53
|
var getValidChildren_1 = require("./utils/getValidChildren");
|
|
54
54
|
var stack_1 = require("./utils/stack");
|
|
@@ -56,7 +56,7 @@ var StackItem = common_1.createComponent('div')({
|
|
|
56
56
|
displayName: 'Stack.Item',
|
|
57
57
|
Component: function (_a, ref, Element) {
|
|
58
58
|
var children = _a.children, elemProps = __rest(_a, ["children"]);
|
|
59
|
-
return (React.createElement(
|
|
59
|
+
return (React.createElement(Box_1.Box, __assign({ as: Element, ref: ref, display: "inline-block", flex: "0 0 auto", minWidth: 0 }, elemProps), children));
|
|
60
60
|
},
|
|
61
61
|
});
|
|
62
62
|
// prevent `spacing` prop from being passed through to the HTML element
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAO,cAAc,EAAC,MAAM,cAAc,CAAC;AAElD,oBAAY,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;AASlD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,IAAI,gnBASf,CAAC"}
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import * as React from 'react';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
25
|
import { createComponent } from '@workday/canvas-kit-react/common';
|
|
26
|
-
import { Box } from '
|
|
26
|
+
import { Box } from './Box';
|
|
27
27
|
import { flex } from './utils/flex';
|
|
28
28
|
var StyledFlex = styled(Box)({
|
|
29
29
|
display: 'flex',
|
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import * as React from 'react';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
25
|
import { createComponent } from '@workday/canvas-kit-react/common';
|
|
26
|
-
import { Box } from '
|
|
26
|
+
import { Box } from './Box';
|
|
27
27
|
import { Flex } from './Flex';
|
|
28
28
|
import { getValidChildren } from './utils/getValidChildren';
|
|
29
29
|
import { stack } from './utils/stack';
|
package/layout/lib/Flex.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import {createComponent, StyledType} from '@workday/canvas-kit-react/common';
|
|
4
|
-
import {Box, BoxProps} from '
|
|
4
|
+
import {Box, BoxProps} from './Box';
|
|
5
5
|
|
|
6
6
|
import {flex, FlexStyleProps} from './utils/flex';
|
|
7
7
|
|
package/layout/lib/Stack.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import {createComponent, StyledType} from '@workday/canvas-kit-react/common';
|
|
4
|
-
import {Box, BoxProps} from '
|
|
4
|
+
import {Box, BoxProps} from './Box';
|
|
5
5
|
import {Flex, FlexProps} from './Flex';
|
|
6
6
|
import {getValidChildren} from './utils/getValidChildren';
|
|
7
7
|
import {stack, StackStyleProps} from './utils/stack';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.92-next.19+e2cad878",
|
|
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",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
49
|
"@popperjs/core": "^2.5.4",
|
|
50
50
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
51
|
-
"@workday/canvas-kit-labs-react": "^7.0.0-alpha.
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^7.0.0-alpha.
|
|
53
|
-
"@workday/canvas-kit-preview-react": "^7.0.0-alpha.
|
|
51
|
+
"@workday/canvas-kit-labs-react": "^7.0.0-alpha.92-next.19+e2cad878",
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^7.0.0-alpha.92-next.19+e2cad878",
|
|
53
|
+
"@workday/canvas-kit-preview-react": "^7.0.0-alpha.92-next.19+e2cad878",
|
|
54
54
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
55
55
|
"@workday/design-assets-types": "^0.2.4",
|
|
56
56
|
"chroma-js": "^2.1.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
70
70
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "e2cad87834c40633618cb65a95a0271b1256e214"
|
|
73
73
|
}
|