oolib 2.117.0 → 2.118.0

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.
@@ -97,7 +97,7 @@ var ActionMenu = function (_a) {
97
97
  var _a, _b;
98
98
  return (react_1.default.createElement(styled_1.StyledActionsDropMenu, { id: "dropmenu", align: align, invert: invert, optionsHeight: (_a = getOpsRect()) === null || _a === void 0 ? void 0 : _a.height, optionsWidth: (_b = getOpsRect()) === null || _b === void 0 ? void 0 : _b.width, showActions: showActions, fixPos: fixPos },
99
99
  react_1.default.createElement(styled_1.StyledActionMenuOpsWrapper, { invert: invert, align: align, ref: optionsWrapperRef }, actions.map(function (action) {
100
- return (react_1.default.createElement(ModalConfirmAction_1.ModalConfirmAction, __assign({}, action.confirmAction),
100
+ return (react_1.default.createElement(ModalConfirmAction_1.ModalConfirmAction, __assign({}, action.confirmAction, { key: action.display }),
101
101
  react_1.default.createElement(styled_1.StyledOption, __assign({}, action, { onClick: function (e) {
102
102
  var _a;
103
103
  e.preventDefault();
@@ -1,5 +1,20 @@
1
1
  import React from "react";
2
2
  export type alignActionsType = "left" | "right" | "center";
3
+ export interface genHeaderProps {
4
+ title: string;
5
+ subtitle: string;
6
+ setAnimPos: React.Dispatch<React.SetStateAction<{
7
+ marginTop: number | string;
8
+ opacity: number;
9
+ }>>;
10
+ linkTo: string;
11
+ onClose: () => void;
12
+ initAnimPos: {
13
+ marginTop: string;
14
+ opacity: number;
15
+ };
16
+ invert: boolean;
17
+ }
3
18
  export interface ModalProps {
4
19
  title: string;
5
20
  onClose: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.117.0",
3
+ "version": "2.118.0",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",