@workday/canvas-kit-labs-react 7.0.0-alpha.0-next.0 → 7.0.0-alpha.0-next.5
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/combobox/lib/Combobox.tsx +5 -3
- package/common/README.md +10 -4
- package/common/lib/Box.tsx +26 -4
- package/common/lib/theming/useThemedRing.ts +9 -5
- package/common/lib/utils/other.ts +20 -0
- package/dist/commonjs/combobox/index.js +12 -4
- package/dist/commonjs/combobox/lib/AutocompleteList.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/AutocompleteList.js +19 -7
- package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/Combobox.js +27 -12
- package/dist/commonjs/combobox/lib/Status.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/Status.js +14 -2
- package/dist/commonjs/common/index.js +15 -7
- package/dist/commonjs/common/lib/Box.d.ts +3 -2
- package/dist/commonjs/common/lib/Box.d.ts.map +1 -1
- package/dist/commonjs/common/lib/Box.js +31 -9
- package/dist/commonjs/common/lib/storybook-utils/ComponentStatesTable.d.ts.map +1 -1
- package/dist/commonjs/common/lib/storybook-utils/ComponentStatesTable.js +3 -1
- package/dist/commonjs/common/lib/storybook-utils/permutateProps.d.ts.map +1 -1
- package/dist/commonjs/common/lib/storybook-utils/permutateProps.js +3 -1
- package/dist/commonjs/common/lib/theming/index.js +12 -5
- package/dist/commonjs/common/lib/theming/useThemeRTL.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/useThemeRTL.js +1 -0
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts +1 -1
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/useThemedRing.js +8 -2
- package/dist/commonjs/common/lib/utils/border.js +1 -0
- package/dist/commonjs/common/lib/utils/color.js +1 -0
- package/dist/commonjs/common/lib/utils/depth.js +1 -0
- package/dist/commonjs/common/lib/utils/flexItem.js +1 -0
- package/dist/commonjs/common/lib/utils/layout.js +1 -0
- package/dist/commonjs/common/lib/utils/other.d.ts +5 -0
- package/dist/commonjs/common/lib/utils/other.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/other.js +19 -0
- package/dist/commonjs/common/lib/utils/position.js +1 -0
- package/dist/commonjs/common/lib/utils/space.js +1 -0
- package/dist/commonjs/drawer/index.js +12 -4
- package/dist/commonjs/drawer/lib/Drawer.js +21 -8
- package/dist/commonjs/drawer/lib/DrawerHeader.js +20 -8
- package/dist/commonjs/header/index.js +14 -6
- package/dist/commonjs/header/lib/GlobalHeader.js +20 -8
- package/dist/commonjs/header/lib/Header.js +22 -10
- package/dist/commonjs/header/lib/parts/DubLogoTitle.js +16 -3
- package/dist/commonjs/header/lib/parts/WorkdayLogoTitle.js +21 -8
- package/dist/commonjs/header/lib/parts/index.js +3 -2
- package/dist/commonjs/header/lib/shared/themes.js +1 -0
- package/dist/commonjs/header/lib/shared/types.js +1 -0
- package/dist/commonjs/index.js +16 -9
- package/dist/commonjs/layout/index.js +12 -5
- 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 +20 -7
- package/dist/commonjs/layout/lib/Stack.d.ts +8 -8
- package/dist/commonjs/layout/lib/Stack.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Stack.js +26 -13
- package/dist/commonjs/layout/lib/utils/flex.js +1 -0
- package/dist/commonjs/layout/lib/utils/getValidChildren.js +15 -2
- package/dist/commonjs/layout/lib/utils/stack.js +1 -0
- package/dist/commonjs/search-form/index.js +12 -5
- package/dist/commonjs/search-form/lib/SearchForm.d.ts +3 -2
- package/dist/commonjs/search-form/lib/SearchForm.d.ts.map +1 -1
- package/dist/commonjs/search-form/lib/SearchForm.js +21 -8
- package/dist/commonjs/search-form/lib/themes.d.ts.map +1 -1
- package/dist/commonjs/search-form/lib/themes.js +1 -0
- package/dist/es6/combobox/lib/AutocompleteList.d.ts.map +1 -1
- package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -1
- package/dist/es6/combobox/lib/Combobox.js +1 -1
- package/dist/es6/combobox/lib/Status.d.ts.map +1 -1
- package/dist/es6/common/lib/Box.d.ts +3 -2
- package/dist/es6/common/lib/Box.d.ts.map +1 -1
- package/dist/es6/common/lib/Box.js +12 -3
- package/dist/es6/common/lib/storybook-utils/ComponentStatesTable.d.ts.map +1 -1
- package/dist/es6/common/lib/storybook-utils/permutateProps.d.ts.map +1 -1
- package/dist/es6/common/lib/storybook-utils/propTypes.js +1 -0
- package/dist/es6/common/lib/theming/useThemeRTL.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/useThemedRing.d.ts +1 -1
- package/dist/es6/common/lib/theming/useThemedRing.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/useThemedRing.js +5 -1
- package/dist/es6/common/lib/utils/other.d.ts +5 -0
- package/dist/es6/common/lib/utils/other.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/other.js +15 -0
- package/dist/es6/common/lib/utils/types.js +1 -0
- package/dist/es6/drawer/lib/Drawer.js +1 -1
- package/dist/es6/drawer/lib/DrawerHeader.js +1 -1
- package/dist/es6/header/lib/GlobalHeader.js +1 -1
- package/dist/es6/header/lib/Header.js +2 -2
- package/dist/es6/header/lib/parts/DubLogoTitle.js +1 -1
- package/dist/es6/header/lib/parts/WorkdayLogoTitle.js +1 -1
- 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/Stack.d.ts +8 -8
- package/dist/es6/layout/lib/Stack.d.ts.map +1 -1
- package/dist/es6/layout/lib/Stack.js +6 -6
- package/dist/es6/layout/lib/utils/types.js +1 -0
- package/dist/es6/search-form/lib/SearchForm.d.ts +3 -2
- package/dist/es6/search-form/lib/SearchForm.d.ts.map +1 -1
- package/dist/es6/search-form/lib/SearchForm.js +1 -1
- package/dist/es6/search-form/lib/themes.d.ts.map +1 -1
- package/header/lib/Header.tsx +2 -2
- package/layout/lib/Stack.tsx +10 -26
- package/package.json +7 -7
- package/search-form/lib/SearchForm.tsx +3 -3
- package/search-form/lib/themes.ts +2 -1
- package/ts3.5/dist/commonjs/common/lib/Box.d.ts +3 -2
- package/ts3.5/dist/commonjs/common/lib/theming/useThemedRing.d.ts +1 -1
- package/ts3.5/dist/commonjs/common/lib/utils/other.d.ts +5 -0
- package/ts3.5/dist/commonjs/layout/lib/Flex.d.ts +1 -1
- package/ts3.5/dist/commonjs/layout/lib/Stack.d.ts +8 -8
- package/ts3.5/dist/commonjs/search-form/lib/SearchForm.d.ts +3 -2
- package/ts3.5/dist/es6/common/lib/Box.d.ts +3 -2
- package/ts3.5/dist/es6/common/lib/theming/useThemedRing.d.ts +1 -1
- package/ts3.5/dist/es6/common/lib/utils/other.d.ts +5 -0
- package/ts3.5/dist/es6/layout/lib/Flex.d.ts +1 -1
- package/ts3.5/dist/es6/layout/lib/Stack.d.ts +8 -8
- package/ts3.5/dist/es6/search-form/lib/SearchForm.d.ts +3 -2
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useThemedRing = exports.getPaletteColors = void 0;
|
|
6
7
|
var useThemeRTL_1 = require("./useThemeRTL");
|
|
7
8
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
8
9
|
var chroma_js_1 = __importDefault(require("chroma-js"));
|
|
@@ -12,7 +13,11 @@ var isAccessible = function (foreground, background) {
|
|
|
12
13
|
};
|
|
13
14
|
var getPaletteColorsFromTheme = function (palette, fallbackColors) {
|
|
14
15
|
return {
|
|
15
|
-
outer: isAccessible(palette.main)
|
|
16
|
+
outer: isAccessible(palette.main)
|
|
17
|
+
? palette.main
|
|
18
|
+
: isAccessible(palette.darkest)
|
|
19
|
+
? palette.darkest
|
|
20
|
+
: fallbackColors === null || fallbackColors === void 0 ? void 0 : fallbackColors.outer,
|
|
16
21
|
inner: (fallbackColors === null || fallbackColors === void 0 ? void 0 : fallbackColors.inner) ? fallbackColors.inner : palette.main,
|
|
17
22
|
};
|
|
18
23
|
};
|
|
@@ -39,7 +44,7 @@ function getPaletteColors(type, theme) {
|
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
46
|
exports.getPaletteColors = getPaletteColors;
|
|
42
|
-
|
|
47
|
+
var useThemedRing = function (type) {
|
|
43
48
|
var _a = useThemeRTL_1.useThemeRTL(), themeRTL = _a.themeRTL, theme = _a.theme;
|
|
44
49
|
var paletteColors = getPaletteColors(type, theme);
|
|
45
50
|
if (!((paletteColors === null || paletteColors === void 0 ? void 0 : paletteColors.outer) || (paletteColors === null || paletteColors === void 0 ? void 0 : paletteColors.inner))) {
|
|
@@ -59,3 +64,4 @@ exports.useThemedRing = function (type) {
|
|
|
59
64
|
},
|
|
60
65
|
});
|
|
61
66
|
};
|
|
67
|
+
exports.useThemedRing = useThemedRing;
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.color = void 0;
|
|
14
15
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
15
16
|
var getBackground = function (value) { return ({
|
|
16
17
|
background: tokens_1.colors[value] || value,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"other.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/other.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAQF,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,CAAC,MASxD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.other = void 0;
|
|
4
|
+
var otherProps = {
|
|
5
|
+
animation: function (value) {
|
|
6
|
+
return { animation: value };
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
function other(props) {
|
|
10
|
+
for (var key in props) {
|
|
11
|
+
if (key in otherProps) {
|
|
12
|
+
var value = props[key];
|
|
13
|
+
var styleFn = otherProps[key];
|
|
14
|
+
return styleFn(value);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
exports.other = other;
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.position = void 0;
|
|
14
15
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
15
16
|
var getInsetInlineStartStyle = function (value, isRTL) {
|
|
16
17
|
var _a;
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.space = void 0;
|
|
14
15
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
15
16
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
16
17
|
var margin = function (value) {
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
14
|
};
|
|
8
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DrawerHeader = exports.Drawer = void 0;
|
|
9
17
|
var Drawer_1 = __importDefault(require("./lib/Drawer"));
|
|
10
18
|
exports.Drawer = Drawer_1.default;
|
|
11
19
|
var DrawerHeader_1 = __importDefault(require("./lib/DrawerHeader"));
|
|
12
20
|
exports.DrawerHeader = DrawerHeader_1.default;
|
|
13
21
|
exports.default = Drawer_1.default;
|
|
14
|
-
|
|
22
|
+
__exportStar(require("./lib/Drawer"), exports);
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,6 +23,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
26
45
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
27
46
|
var t = {};
|
|
28
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -34,17 +53,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
53
|
}
|
|
35
54
|
return t;
|
|
36
55
|
};
|
|
37
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
38
|
-
if (mod && mod.__esModule) return mod;
|
|
39
|
-
var result = {};
|
|
40
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
41
|
-
result["default"] = mod;
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
56
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
58
|
};
|
|
47
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
+
exports.DrawerDirection = void 0;
|
|
48
61
|
var React = __importStar(require("react"));
|
|
49
62
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
50
63
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,6 +23,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
26
45
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
27
46
|
var t = {};
|
|
28
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -34,13 +53,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
53
|
}
|
|
35
54
|
return t;
|
|
36
55
|
};
|
|
37
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
38
|
-
if (mod && mod.__esModule) return mod;
|
|
39
|
-
var result = {};
|
|
40
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
41
|
-
result["default"] = mod;
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
56
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
58
|
};
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
14
|
};
|
|
8
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DeprecatedGlobalHeader = exports.DeprecatedHeader = void 0;
|
|
9
17
|
var Header_1 = __importDefault(require("./lib/Header"));
|
|
10
18
|
exports.DeprecatedHeader = Header_1.default;
|
|
11
19
|
var GlobalHeader_1 = __importDefault(require("./lib/GlobalHeader"));
|
|
12
20
|
exports.DeprecatedGlobalHeader = GlobalHeader_1.default;
|
|
13
21
|
exports.default = Header_1.default;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
__exportStar(require("./lib/parts"), exports);
|
|
23
|
+
__exportStar(require("./lib/shared/themes"), exports);
|
|
24
|
+
__exportStar(require("./lib/shared/types"), exports);
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,6 +23,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
26
45
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
27
46
|
var t = {};
|
|
28
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -34,13 +53,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
53
|
}
|
|
35
54
|
return t;
|
|
36
55
|
};
|
|
37
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
38
|
-
if (mod && mod.__esModule) return mod;
|
|
39
|
-
var result = {};
|
|
40
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
41
|
-
result["default"] = mod;
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
56
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
58
|
};
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,6 +23,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
26
45
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
27
46
|
var t = {};
|
|
28
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -34,19 +53,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
53
|
}
|
|
35
54
|
return t;
|
|
36
55
|
};
|
|
37
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
38
|
-
if (mod && mod.__esModule) return mod;
|
|
39
|
-
var result = {};
|
|
40
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
41
|
-
result["default"] = mod;
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
56
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
58
|
};
|
|
47
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
60
|
var React = __importStar(require("react"));
|
|
49
|
-
var
|
|
61
|
+
var react_1 = require("@emotion/react");
|
|
50
62
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
51
63
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
52
64
|
var parts_1 = require("./parts");
|
|
@@ -80,7 +92,7 @@ var BrandLink = styled_1.default(button_1.Hyperlink)({
|
|
|
80
92
|
var navStyle = function (_a) {
|
|
81
93
|
var themeColor = _a.themeColor;
|
|
82
94
|
var theme = themes_1.deprecatedHeaderThemes[themeColor];
|
|
83
|
-
return
|
|
95
|
+
return react_1.css({
|
|
84
96
|
nav: {
|
|
85
97
|
display: 'flex',
|
|
86
98
|
flex: "1 0 auto",
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,17 +23,30 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
26
38
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
39
|
if (mod && mod.__esModule) return mod;
|
|
28
40
|
var result = {};
|
|
29
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
30
|
-
result
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
31
43
|
return result;
|
|
32
44
|
};
|
|
33
45
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
34
46
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
35
47
|
};
|
|
36
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.DeprecatedDubLogoTitle = void 0;
|
|
37
50
|
var React = __importStar(require("react"));
|
|
38
51
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
39
52
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
@@ -3,7 +3,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
@@ -23,6 +23,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
23
23
|
};
|
|
24
24
|
return __assign.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
26
45
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
27
46
|
var t = {};
|
|
28
47
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -34,17 +53,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
53
|
}
|
|
35
54
|
return t;
|
|
36
55
|
};
|
|
37
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
38
|
-
if (mod && mod.__esModule) return mod;
|
|
39
|
-
var result = {};
|
|
40
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
41
|
-
result["default"] = mod;
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
56
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
57
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
58
|
};
|
|
47
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
+
exports.DeprecatedWorkdayLogoTitle = void 0;
|
|
48
61
|
var React = __importStar(require("react"));
|
|
49
62
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
50
63
|
var types_1 = require("../shared/types");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeprecatedWorkdayLogoTitle = exports.DeprecatedDubLogoTitle = void 0;
|
|
3
4
|
var DubLogoTitle_1 = require("./DubLogoTitle");
|
|
4
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "DeprecatedDubLogoTitle", { enumerable: true, get: function () { return DubLogoTitle_1.DeprecatedDubLogoTitle; } });
|
|
5
6
|
var WorkdayLogoTitle_1 = require("./WorkdayLogoTitle");
|
|
6
|
-
exports
|
|
7
|
+
Object.defineProperty(exports, "DeprecatedWorkdayLogoTitle", { enumerable: true, get: function () { return WorkdayLogoTitle_1.DeprecatedWorkdayLogoTitle; } });
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
var _a;
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.deprecatedHeaderThemes = void 0;
|
|
7
8
|
var tokens_1 = require("@workday/canvas-kit-react/tokens");
|
|
8
9
|
var chroma_js_1 = __importDefault(require("chroma-js"));
|
|
9
10
|
var types_1 = require("./types");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeprecatedHeaderHeight = exports.DeprecatedHeaderVariant = exports.DeprecatedHeaderTheme = void 0;
|
|
3
4
|
var DeprecatedHeaderTheme;
|
|
4
5
|
(function (DeprecatedHeaderTheme) {
|
|
5
6
|
DeprecatedHeaderTheme[DeprecatedHeaderTheme["White"] = 0] = "White";
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
__exportStar(require("./combobox"), exports);
|
|
14
|
+
__exportStar(require("./common"), exports);
|
|
15
|
+
__exportStar(require("./drawer"), exports);
|
|
16
|
+
__exportStar(require("./header"), exports);
|
|
17
|
+
__exportStar(require("./layout"), exports);
|
|
18
|
+
__exportStar(require("./search-form"), exports);
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
5
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
__exportStar(require("./lib/Flex"), exports);
|
|
14
|
+
__exportStar(require("./lib/Stack"), exports);
|
|
@@ -22,5 +22,5 @@ export declare type FlexProps = BoxProps & FlexStyleProps;
|
|
|
22
22
|
* );
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
export declare const Flex: import("@workday/canvas-kit-react/common").ElementComponent<"div", import("../../common/lib/utils/border").BorderShorthandStyleProps & import("../../common/lib/utils/border").BorderColorStyleProps & import("../../common/lib/utils/border").BorderRadiusStyleProps & import("../../common/lib/utils/border").BorderLineStyleProps & import("../../common/lib/utils/border").BorderWidthStyleProps & import("../../common/lib/utils/border").BorderLogicalStyleProps & import("../../common").ColorStyleProps & import("../../common").DepthStyleProps & import("../../common").FlexItemStyleProps & import("../../common").LayoutStyleProps & import("../../common/lib/utils/position").PositionStandardProps & import("../../common/lib/utils/position").PositionLogicalProps & import("../../common/lib/utils/space").SpaceStandardProps & import("../../common/lib/utils/space").SpaceLogicalProps & FlexStyleProps>;
|
|
25
|
+
export declare const Flex: import("@workday/canvas-kit-react/common").ElementComponent<"div", import("../../common/lib/utils/border").BorderShorthandStyleProps & import("../../common/lib/utils/border").BorderColorStyleProps & import("../../common/lib/utils/border").BorderRadiusStyleProps & import("../../common/lib/utils/border").BorderLineStyleProps & import("../../common/lib/utils/border").BorderWidthStyleProps & import("../../common/lib/utils/border").BorderLogicalStyleProps & import("../../common").ColorStyleProps & import("../../common").DepthStyleProps & import("../../common").FlexItemStyleProps & import("../../common").LayoutStyleProps & import("../../common/lib/utils/other").OtherStyleProps & import("../../common/lib/utils/position").PositionStandardProps & import("../../common/lib/utils/position").PositionLogicalProps & import("../../common/lib/utils/space").SpaceStandardProps & import("../../common/lib/utils/space").SpaceLogicalProps & FlexStyleProps>;
|
|
26
26
|
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,uCAAuC,CAAC;AAEpE,OAAO,EAAO,cAAc,EAAC,MAAM,cAAc,CAAC;AAElD,oBAAY,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;AASlD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../layout/lib/Flex.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,QAAQ,EAAC,MAAM,uCAAuC,CAAC;AAEpE,OAAO,EAAO,cAAc,EAAC,MAAM,cAAc,CAAC;AAElD,oBAAY,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;AASlD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,IAAI,q7BASf,CAAC"}
|
|
@@ -10,6 +10,25 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
13
32
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
33
|
var t = {};
|
|
15
34
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -21,17 +40,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
40
|
}
|
|
22
41
|
return t;
|
|
23
42
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
28
|
-
result["default"] = mod;
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
43
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
44
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
45
|
};
|
|
34
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
exports.Flex = void 0;
|
|
35
48
|
var React = __importStar(require("react"));
|
|
36
49
|
var styled_1 = __importDefault(require("@emotion/styled"));
|
|
37
50
|
var common_1 = require("@workday/canvas-kit-react/common");
|