@workday/canvas-kit-react 7.0.1 → 7.0.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/action-bar/lib/ActionBarItem.tsx +1 -6
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +1 -4
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +1 -4
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.js +0 -5
- package/dist/es6/action-bar/lib/ActionBar.d.ts +1 -4
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +1 -4
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.js +1 -6
- package/package.json +5 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {composeHooks,
|
|
3
|
-
import {SystemIcon} from '@workday/canvas-kit-react/icon';
|
|
2
|
+
import {composeHooks, createSubcomponent} from '@workday/canvas-kit-react/common';
|
|
4
3
|
import {SecondaryButton} from '@workday/canvas-kit-react/button';
|
|
5
4
|
import {
|
|
6
5
|
useListItemRegister,
|
|
@@ -37,10 +36,6 @@ export const ActionBarItem = createSubcomponent(SecondaryButton)({
|
|
|
37
36
|
displayName: 'ActionBar.Item',
|
|
38
37
|
modelHook: useActionBarModel,
|
|
39
38
|
elemPropsHook: useActionBarItem,
|
|
40
|
-
subComponents: {
|
|
41
|
-
Icon: SystemIcon,
|
|
42
|
-
Text: EllipsisText,
|
|
43
|
-
},
|
|
44
39
|
})<ActionBarItemProps>((elemProps, Element) => {
|
|
45
40
|
return <Element {...elemProps} />;
|
|
46
41
|
});
|
|
@@ -1682,10 +1682,7 @@ export declare const ActionBar: import("../../common").ComponentM<ActionBarProps
|
|
|
1682
1682
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1683
1683
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1684
1684
|
getId: (item: any) => string;
|
|
1685
|
-
}
|
|
1686
|
-
Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
|
|
1687
|
-
Text: import("../../common").ElementComponent<"span", {}>;
|
|
1688
|
-
};
|
|
1685
|
+
}>;
|
|
1689
1686
|
OverflowButton: import("../../common").ElementComponentM<"button", {}, {
|
|
1690
1687
|
state: {
|
|
1691
1688
|
hiddenIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -211,8 +211,5 @@ export declare const ActionBarItem: import("../../common").ElementComponentM<imp
|
|
|
211
211
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
212
212
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
213
213
|
getId: (item: any) => string;
|
|
214
|
-
}
|
|
215
|
-
Icon: import("../../common").ElementComponent<"span", import("../../icon").SystemIconProps>;
|
|
216
|
-
Text: import("../../common").ElementComponent<"span", {}>;
|
|
217
|
-
};
|
|
214
|
+
}>;
|
|
218
215
|
//# sourceMappingURL=ActionBarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAI5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC"}
|
|
@@ -33,7 +33,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33
33
|
exports.ActionBarItem = exports.useActionBarItem = void 0;
|
|
34
34
|
var React = __importStar(require("react"));
|
|
35
35
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
36
|
-
var icon_1 = require("@workday/canvas-kit-react/icon");
|
|
37
36
|
var button_1 = require("@workday/canvas-kit-react/button");
|
|
38
37
|
var collection_1 = require("@workday/canvas-kit-react/collection");
|
|
39
38
|
var useActionBarModel_1 = require("./useActionBarModel");
|
|
@@ -42,10 +41,6 @@ exports.ActionBarItem = common_1.createSubcomponent(button_1.SecondaryButton)({
|
|
|
42
41
|
displayName: 'ActionBar.Item',
|
|
43
42
|
modelHook: useActionBarModel_1.useActionBarModel,
|
|
44
43
|
elemPropsHook: exports.useActionBarItem,
|
|
45
|
-
subComponents: {
|
|
46
|
-
Icon: icon_1.SystemIcon,
|
|
47
|
-
Text: common_1.EllipsisText,
|
|
48
|
-
},
|
|
49
44
|
})(function (elemProps, Element) {
|
|
50
45
|
return React.createElement(Element, __assign({}, elemProps));
|
|
51
46
|
});
|
|
@@ -1682,10 +1682,7 @@ export declare const ActionBar: import("../../common").ComponentM<ActionBarProps
|
|
|
1682
1682
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1683
1683
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1684
1684
|
getId: (item: any) => string;
|
|
1685
|
-
}
|
|
1686
|
-
Icon: import("../../common").ElementComponent<"span", import("../..").SystemIconProps>;
|
|
1687
|
-
Text: import("../../common").ElementComponent<"span", {}>;
|
|
1688
|
-
};
|
|
1685
|
+
}>;
|
|
1689
1686
|
OverflowButton: import("../../common").ElementComponentM<"button", {}, {
|
|
1690
1687
|
state: {
|
|
1691
1688
|
hiddenIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -211,8 +211,5 @@ export declare const ActionBarItem: import("../../common").ElementComponentM<imp
|
|
|
211
211
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
212
212
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
213
213
|
getId: (item: any) => string;
|
|
214
|
-
}
|
|
215
|
-
Icon: import("../../common").ElementComponent<"span", import("../../icon").SystemIconProps>;
|
|
216
|
-
Text: import("../../common").ElementComponent<"span", {}>;
|
|
217
|
-
};
|
|
214
|
+
}>;
|
|
218
215
|
//# sourceMappingURL=ActionBarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAI5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC"}
|
|
@@ -10,8 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import * as React from 'react';
|
|
13
|
-
import { composeHooks,
|
|
14
|
-
import { SystemIcon } from '@workday/canvas-kit-react/icon';
|
|
13
|
+
import { composeHooks, createSubcomponent } from '@workday/canvas-kit-react/common';
|
|
15
14
|
import { SecondaryButton } from '@workday/canvas-kit-react/button';
|
|
16
15
|
import { useListItemRegister, useListItemRovingFocus, useOverflowListItemMeasure, } from '@workday/canvas-kit-react/collection';
|
|
17
16
|
import { useActionBarModel } from './useActionBarModel';
|
|
@@ -20,10 +19,6 @@ export var ActionBarItem = createSubcomponent(SecondaryButton)({
|
|
|
20
19
|
displayName: 'ActionBar.Item',
|
|
21
20
|
modelHook: useActionBarModel,
|
|
22
21
|
elemPropsHook: useActionBarItem,
|
|
23
|
-
subComponents: {
|
|
24
|
-
Icon: SystemIcon,
|
|
25
|
-
Text: EllipsisText,
|
|
26
|
-
},
|
|
27
22
|
})(function (elemProps, Element) {
|
|
28
23
|
return React.createElement(Element, __assign({}, elemProps));
|
|
29
24
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
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.
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^7.0.
|
|
53
|
-
"@workday/canvas-kit-preview-react": "^7.0.
|
|
51
|
+
"@workday/canvas-kit-labs-react": "^7.0.2",
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^7.0.2",
|
|
53
|
+
"@workday/canvas-kit-preview-react": "^7.0.2",
|
|
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": "2edf9dbdcf4e6258dd112db510037ce8affe776f"
|
|
73
73
|
}
|