linear-react-components-ui 1.0.10-beta.8 → 1.0.10-rc.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.
- package/lib/alerts/AlertContainer.d.ts +2 -0
- package/lib/alerts/AlertProvider.d.ts +2 -0
- package/lib/alerts/BaseAlert.d.ts +2 -0
- package/lib/alerts/Message.d.ts +2 -0
- package/lib/alerts/Message.js +1 -1
- package/lib/alerts/helpers.d.ts +2 -0
- package/lib/alerts/index.d.ts +2 -0
- package/lib/alerts/types.d.ts +3 -1
- package/lib/alerts/withAlert.d.ts +2 -0
- package/lib/assets/styles/dialog.scss +0 -2
- package/lib/buttons/ActivateButton.d.ts +2 -0
- package/lib/buttons/AddButton.d.ts +2 -0
- package/lib/buttons/Button.d.ts +2 -0
- package/lib/buttons/CancelButton.d.ts +2 -0
- package/lib/buttons/DangerButton.d.ts +2 -0
- package/lib/buttons/DefaultButton.d.ts +2 -0
- package/lib/buttons/DefaultButton.js +13 -4
- package/lib/buttons/DestroyButton.d.ts +2 -0
- package/lib/buttons/EditButton.d.ts +2 -0
- package/lib/buttons/InactivateButton.d.ts +2 -0
- package/lib/buttons/InfoButton.d.ts +2 -0
- package/lib/buttons/PrimaryButton.d.ts +2 -0
- package/lib/buttons/RestoreButton.d.ts +2 -0
- package/lib/buttons/SaveButton.d.ts +2 -0
- package/lib/buttons/SuccessButton.d.ts +2 -0
- package/lib/buttons/WarningButton.d.ts +2 -0
- package/lib/buttons/index.d.ts +2 -0
- package/lib/buttons/split_button/index.d.ts +2 -0
- package/lib/buttons/types.d.ts +5 -2
- package/lib/dialog/Alert.d.ts +2 -0
- package/lib/dialog/Custom.d.ts +2 -0
- package/lib/dialog/Custom.js +1 -1
- package/lib/dialog/Error.d.ts +2 -0
- package/lib/dialog/Information.d.ts +2 -0
- package/lib/dialog/Question.d.ts +2 -0
- package/lib/dialog/Warning.d.ts +2 -0
- package/lib/dialog/base/Content.d.ts +2 -0
- package/lib/dialog/base/Footer.d.ts +2 -0
- package/lib/dialog/base/Header.d.ts +2 -0
- package/lib/dialog/base/index.d.ts +2 -0
- package/lib/dialog/base/index.js +5 -2
- package/lib/dialog/form/index.d.ts +2 -0
- package/lib/dialog/index.d.ts +2 -0
- package/lib/dialog/types.d.ts +4 -2
- package/lib/drawer/Content.d.ts +2 -0
- package/lib/drawer/Drawer.d.ts +2 -0
- package/lib/drawer/Header.d.ts +2 -0
- package/lib/drawer/helpers.d.ts +2 -0
- package/lib/drawer/index.d.ts +2 -0
- package/lib/drawer/types.d.ts +3 -1
- package/lib/icons/index.d.ts +2 -0
- package/lib/icons/types.d.ts +3 -1
- package/lib/index.d.ts +3 -1
- package/lib/inputs/inputHOC.d.ts +2 -0
- package/lib/inputs/mask/helpers.d.ts +2 -0
- package/lib/inputs/mask/imaskHOC.d.ts +2 -0
- package/lib/inputs/number/BaseNumber.d.ts +2 -0
- package/lib/inputs/number/Currency.d.ts +2 -0
- package/lib/inputs/number/Decimal.d.ts +2 -0
- package/lib/inputs/number/index.d.ts +2 -0
- package/lib/inputs/number/types.d.ts +2 -0
- package/lib/inputs/search/index.d.ts +2 -0
- package/lib/inputs/select/ActionButtons.d.ts +2 -0
- package/lib/inputs/select/Dropdown.d.ts +2 -0
- package/lib/inputs/select/helper.d.ts +2 -0
- package/lib/inputs/select/simple/index.js +25 -9
- package/lib/inputs/types.d.ts +2 -0
- package/lib/labelMessages/index.d.ts +2 -0
- package/lib/labelMessages/index.js +3 -4
- package/lib/labelMessages/types.d.ts +3 -1
- package/lib/labels/DangerLabel.d.ts +2 -0
- package/lib/labels/DefaultLabel.d.ts +2 -0
- package/lib/labels/InfoLabel.d.ts +2 -0
- package/lib/labels/PrimaryLabel.d.ts +2 -0
- package/lib/labels/SuccessLabel.d.ts +2 -0
- package/lib/labels/WarningLabel.d.ts +2 -0
- package/lib/labels/index.d.ts +2 -0
- package/lib/labels/types.d.ts +3 -1
- package/lib/list/Header.d.ts +2 -0
- package/lib/list/Item.d.ts +2 -0
- package/lib/list/helpers.d.ts +2 -0
- package/lib/list/index.d.ts +2 -0
- package/lib/list/types.d.ts +4 -2
- package/lib/menus/float/MenuItem.d.ts +2 -0
- package/lib/menus/float/helpers.d.ts +2 -0
- package/lib/menus/float/index.d.ts +2 -0
- package/lib/menus/float/types.d.ts +3 -1
- package/lib/menus/index.d.ts +2 -0
- package/lib/menus/sidenav/ExpandMenu.d.ts +2 -0
- package/lib/menus/sidenav/MenuLink.d.ts +2 -0
- package/lib/menus/sidenav/NavMenuGroup.d.ts +2 -0
- package/lib/menus/sidenav/NavMenuItem.d.ts +2 -0
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +2 -0
- package/lib/menus/sidenav/helpers.d.ts +2 -0
- package/lib/menus/sidenav/index.d.ts +2 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +2 -0
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +2 -0
- package/lib/menus/sidenav/types.d.ts +4 -2
- package/lib/panel/Content.d.ts +3 -1
- package/lib/panel/DangerPanel.d.ts +3 -1
- package/lib/panel/Default.d.ts +3 -1
- package/lib/panel/Header.d.ts +3 -1
- package/lib/panel/Header.js +3 -4
- package/lib/panel/InfoPanel.d.ts +3 -1
- package/lib/panel/PrimaryPanel.d.ts +3 -1
- package/lib/panel/SuccessPanel.d.ts +3 -1
- package/lib/panel/ToolBar.d.ts +3 -1
- package/lib/panel/WarningPanel.d.ts +3 -1
- package/lib/panel/helpers.d.ts +3 -1
- package/lib/panel/index.d.ts +3 -1
- package/lib/panel/types.d.ts +3 -1
- package/lib/popover/PopoverText.d.ts +2 -0
- package/lib/popover/PopoverTitle.d.ts +2 -0
- package/lib/popover/index.d.ts +2 -0
- package/lib/popover/index.js +1 -2
- package/lib/popover/types.d.ts +3 -1
- package/lib/tabs/DropdownItems.d.ts +2 -0
- package/lib/tabs/Menu.d.ts +2 -0
- package/lib/tabs/MenuItems.d.ts +2 -0
- package/lib/tabs/Panel.d.ts +2 -0
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/tabHelpers.d.ts +2 -0
- package/lib/tabs/types.d.ts +3 -1
- package/lib/toolbar/ButtonBar.d.ts +2 -0
- package/lib/toolbar/LabelBar.d.ts +2 -0
- package/lib/toolbar/ToolBarGroup.d.ts +2 -0
- package/lib/toolbar/helpers.d.ts +2 -0
- package/lib/toolbar/index.d.ts +2 -0
- package/lib/toolbar/types.d.ts +4 -2
- package/lib/{types-90c43ae1.d.ts → types-c1e2d0c9.d.ts} +2 -1
- package/package.json +1 -1
- package/demo/06c001f4d19c06397d470bb43ff3fe49.png +0 -0
- package/demo/270084ef02ed3bddc3f735fd91ee3cae.png +0 -0
- package/demo/882f8e819d18f5f2dc08d23ebd28a7d5.png +0 -0
- package/demo/bundle.js +0 -2
- package/demo/bundle.js.LICENSE.txt +0 -65
- package/demo/cbc3b4bd6342c551db7afafe26dc458c.jpg +0 -0
- package/demo/edc9476523b940deab91951066981a31.png +0 -0
- package/demo/fb44e7c36db6d95bb85a745d4f060fb2.png +0 -0
- package/demo/fonts/Roboto-Black.woff +0 -0
- package/demo/fonts/Roboto-Black.woff2 +0 -0
- package/demo/fonts/Roboto-Bold.woff +0 -0
- package/demo/fonts/Roboto-Bold.woff2 +0 -0
- package/demo/fonts/Roboto-Light.woff +0 -0
- package/demo/fonts/Roboto-Light.woff2 +0 -0
- package/demo/fonts/Roboto-Medium.woff +0 -0
- package/demo/fonts/Roboto-Medium.woff2 +0 -0
- package/demo/fonts/Roboto-Regular.woff +0 -0
- package/demo/fonts/Roboto-Regular.woff2 +0 -0
- package/demo/fonts/Roboto-Thin.woff +0 -0
- package/demo/fonts/Roboto-Thin.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-Black.woff +0 -0
- package/demo/fonts/TitilliumWeb-Black.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-Bold.woff +0 -0
- package/demo/fonts/TitilliumWeb-Bold.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-ExtraLight.woff +0 -0
- package/demo/fonts/TitilliumWeb-ExtraLight.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-Light.woff +0 -0
- package/demo/fonts/TitilliumWeb-Light.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-Regular.woff +0 -0
- package/demo/fonts/TitilliumWeb-Regular.woff2 +0 -0
- package/demo/fonts/TitilliumWeb-SemiBold.woff +0 -0
- package/demo/fonts/TitilliumWeb-SemiBold.woff2 +0 -0
- package/demo/index.html +0 -1
package/lib/panel/Content.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PanelContent: ({ customClass, children, style }: IPanelProps) => JSX.Element | null;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const DangerPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/Default.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const DefaultPanel: ({ startOpened, toggleable, customClass, children, style, title, gridCols, onEndReached, onEndReachedThreshold, permissionAttr, colorStyle, }: IPanelProps) => JSX.Element | null;
|
|
7
9
|
|
package/lib/panel/Header.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { a as IPanelHeaderProps } from '../types-
|
|
1
|
+
import { a as IPanelHeaderProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PanelHeader: (props: IPanelHeaderProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/Header.js
CHANGED
|
@@ -13,9 +13,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
var getIcon = function getIcon(titleIcon, icon) {
|
|
16
|
-
if (icon
|
|
16
|
+
if (icon) {
|
|
17
17
|
return icon;
|
|
18
|
-
} else if (titleIcon
|
|
18
|
+
} else if (titleIcon) {
|
|
19
19
|
return /*#__PURE__*/_react.default.createElement(_icons.default, {
|
|
20
20
|
name: titleIcon,
|
|
21
21
|
color: "#000",
|
|
@@ -33,8 +33,7 @@ var getClassName = function getClassName(_ref) {
|
|
|
33
33
|
return className;
|
|
34
34
|
};
|
|
35
35
|
var PanelHeader = function PanelHeader(props) {
|
|
36
|
-
var
|
|
37
|
-
titleIcon = _props$titleIcon === void 0 ? '' : _props$titleIcon,
|
|
36
|
+
var titleIcon = props.titleIcon,
|
|
38
37
|
icon = props.icon,
|
|
39
38
|
title = props.title,
|
|
40
39
|
children = props.children,
|
package/lib/panel/InfoPanel.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const InfoPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PrimaryPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const SuccessPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/ToolBar.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const ToolBar: ({ children }: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const WarningPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/helpers.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { P as default, n as numberAroundZeroAndOne } from '../types-
|
|
2
|
+
export { P as default, n as numberAroundZeroAndOne } from '../types-c1e2d0c9.js';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
package/lib/panel/index.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ export { default as SuccessPanel } from './SuccessPanel.js';
|
|
|
6
6
|
export { default as InfoPanel } from './InfoPanel.js';
|
|
7
7
|
export { default as PanelHeader } from './Header.js';
|
|
8
8
|
export { default as PanelContent } from './Content.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-c1e2d0c9.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import '../@types/PermissionAttr.js';
|
|
12
12
|
import '../internals/colorStyles.js';
|
|
13
|
+
import '../@types/Icon.js';
|
|
14
|
+
import '../icons/helper.js';
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
|
package/lib/panel/types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { C as ContextProps, a as IPanelHeaderProps, I as IPanelProps, b as IParameterFunction } from '../types-
|
|
2
|
+
export { C as ContextProps, a as IPanelHeaderProps, I as IPanelProps, b as IParameterFunction } from '../types-c1e2d0c9.js';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
@@ -2,6 +2,8 @@ import { PopoverTextProps } from './types.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/Position.js';
|
|
4
4
|
import '../@types/SizePixels.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PopoverText: ({ children }: PopoverTextProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -2,6 +2,8 @@ import { PopoverTitleProps } from './types.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/Position.js';
|
|
4
4
|
import '../@types/SizePixels.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PopoverTitle: ({ children }: PopoverTitleProps) => JSX.Element;
|
|
7
9
|
|
package/lib/popover/index.d.ts
CHANGED
package/lib/popover/index.js
CHANGED
|
@@ -30,8 +30,7 @@ var Popover = function Popover(_ref) {
|
|
|
30
30
|
align = _ref$align === void 0 ? 'left' : _ref$align,
|
|
31
31
|
_ref$theme = _ref.theme,
|
|
32
32
|
theme = _ref$theme === void 0 ? 'dark' : _ref$theme,
|
|
33
|
-
|
|
34
|
-
iconName = _ref$iconName === void 0 ? '' : _ref$iconName,
|
|
33
|
+
iconName = _ref.iconName,
|
|
35
34
|
_ref$iconSize = _ref.iconSize,
|
|
36
35
|
iconSize = _ref$iconSize === void 0 ? 16 : _ref$iconSize,
|
|
37
36
|
_ref$iconColor = _ref.iconColor,
|
package/lib/popover/types.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Position } from '../@types/Position.js';
|
|
3
3
|
import { SizePixels } from '../@types/SizePixels.js';
|
|
4
|
+
import { IconNames } from '../@types/Icon.js';
|
|
5
|
+
import '../icons/helper.js';
|
|
4
6
|
|
|
5
7
|
interface PopoverTitleProps {
|
|
6
8
|
children?: ReactNode;
|
|
@@ -9,7 +11,7 @@ interface PopoverTextProps {
|
|
|
9
11
|
children?: ReactNode;
|
|
10
12
|
}
|
|
11
13
|
interface IPopoverProps {
|
|
12
|
-
iconName?:
|
|
14
|
+
iconName?: IconNames;
|
|
13
15
|
iconColor?: string;
|
|
14
16
|
customClass?: string;
|
|
15
17
|
children?: ReactNode;
|
|
@@ -3,6 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../@types/Size.js';
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/PermissionAttr.js';
|
|
6
|
+
import '../@types/Icon.js';
|
|
7
|
+
import '../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
declare const DropdownItems: ({ handlerClick, handlerRemovePanel, dropdownPanels, tabMenuSize, }: MenuProps) => JSX.Element | null;
|
|
8
10
|
|
package/lib/tabs/Menu.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../@types/Size.js';
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/PermissionAttr.js';
|
|
6
|
+
import '../@types/Icon.js';
|
|
7
|
+
import '../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
declare const Menu: ({ menuRef, toolbar, toolBarRef, customClassForToolBar, ...props }: MenuProps) => JSX.Element;
|
|
8
10
|
|
package/lib/tabs/MenuItems.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../@types/Size.js';
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/PermissionAttr.js';
|
|
6
|
+
import '../@types/Icon.js';
|
|
7
|
+
import '../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
declare const MenuItems: ({ handlerClick, currentPanels, handlerRemovePanel, tabWidth, tabMenuSize, tabMenuAlign, selectedTabId, firstTabIdent, }: MenuProps) => JSX.Element;
|
|
8
10
|
|
package/lib/tabs/Panel.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../@types/Size.js';
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/PermissionAttr.js';
|
|
6
|
+
import '../@types/Icon.js';
|
|
7
|
+
import '../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
declare const Panel: ({ id, children, onEndReached, permissionAttr, customClass, onEndReachedThreshold, }: PanelProps) => JSX.Element;
|
|
8
10
|
|
package/lib/tabs/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import 'react';
|
|
|
4
4
|
import '../@types/Size.js';
|
|
5
5
|
import '../@types/Position.js';
|
|
6
6
|
import '../@types/PermissionAttr.js';
|
|
7
|
+
import '../@types/Icon.js';
|
|
8
|
+
import '../icons/helper.js';
|
|
7
9
|
|
|
8
10
|
declare const Tabs: ({ toolbar, children, selectedTab, firstTabIdent, handlerTabClick, handlerCloseTab, style, tabMenuSize, tabMenuAlign, tabMenuPosition, customClassForToolBar, tabsWidthOnExceedCount, ...props }: ITabsPros) => JSX.Element;
|
|
9
11
|
|
package/lib/tabs/tabHelpers.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { Position } from '../@types/Position.js';
|
|
|
4
4
|
import { PanelTypeAndProps, TabsContextValues } from './types.js';
|
|
5
5
|
import '../@types/Size.js';
|
|
6
6
|
import '../@types/PermissionAttr.js';
|
|
7
|
+
import '../@types/Icon.js';
|
|
8
|
+
import '../icons/helper.js';
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* Recursive funcion to get the panels passed as children elements to the Tabs Component.
|
package/lib/tabs/types.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { ReactElement, CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { Size } from '../@types/Size.js';
|
|
3
3
|
import { Position } from '../@types/Position.js';
|
|
4
4
|
import { PermissionAttr } from '../@types/PermissionAttr.js';
|
|
5
|
+
import { IconNames } from '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
interface PanelTypeAndProps extends ReactElement {
|
|
7
9
|
props: PanelProps;
|
|
@@ -48,7 +50,7 @@ interface PanelProps {
|
|
|
48
50
|
tooltip?: string;
|
|
49
51
|
disabled?: boolean;
|
|
50
52
|
closable?: boolean;
|
|
51
|
-
iconName?:
|
|
53
|
+
iconName?: IconNames;
|
|
52
54
|
children?: ReactNode;
|
|
53
55
|
closeable?: boolean;
|
|
54
56
|
iconAlign?: Extract<Position, 'left' | 'right'>;
|
|
@@ -4,6 +4,8 @@ import '../@types/ButtonTypes.js';
|
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/Size.js';
|
|
6
6
|
import '../treeview/types.js';
|
|
7
|
+
import '../@types/Icon.js';
|
|
8
|
+
import '../icons/helper.js';
|
|
7
9
|
|
|
8
10
|
declare const ButtonBar: ({ size, icon, onClick, iconName, transparent, customClass, type, iconAlign, label, ...props }: IButtonBarProps) => JSX.Element;
|
|
9
11
|
|
|
@@ -4,6 +4,8 @@ import '../@types/ButtonTypes.js';
|
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/Size.js';
|
|
6
6
|
import '../treeview/types.js';
|
|
7
|
+
import '../@types/Icon.js';
|
|
8
|
+
import '../icons/helper.js';
|
|
7
9
|
|
|
8
10
|
declare const LabelBar: ({ size, icon, children, iconName, style, type, bordered, ...props }: ILabelBarProps) => JSX.Element;
|
|
9
11
|
|
|
@@ -4,6 +4,8 @@ import '../@types/ButtonTypes.js';
|
|
|
4
4
|
import '../@types/Position.js';
|
|
5
5
|
import '../@types/Size.js';
|
|
6
6
|
import '../treeview/types.js';
|
|
7
|
+
import '../@types/Icon.js';
|
|
8
|
+
import '../icons/helper.js';
|
|
7
9
|
|
|
8
10
|
declare const ToolBarGroup: ({ children, style }: IToolBarGroup) => JSX.Element;
|
|
9
11
|
|
package/lib/toolbar/helpers.d.ts
CHANGED
package/lib/toolbar/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import '../@types/ButtonTypes.js';
|
|
|
8
8
|
import '../@types/Position.js';
|
|
9
9
|
import '../@types/Size.js';
|
|
10
10
|
import '../treeview/types.js';
|
|
11
|
+
import '../@types/Icon.js';
|
|
12
|
+
import '../icons/helper.js';
|
|
11
13
|
|
|
12
14
|
declare const ToolBar: ({ innerRef, children, style, size, customClass, ...props }: IToolbarProps) => JSX.Element;
|
|
13
15
|
|
package/lib/toolbar/types.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { ButtonTypes } from '../@types/ButtonTypes.js';
|
|
|
3
3
|
import { Position } from '../@types/Position.js';
|
|
4
4
|
import { Size } from '../@types/Size.js';
|
|
5
5
|
import { NodeItem } from '../treeview/types.js';
|
|
6
|
+
import { IconNames } from '../@types/Icon.js';
|
|
7
|
+
import '../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
interface IToolbarProps {
|
|
8
10
|
children?: ReactNode;
|
|
@@ -14,7 +16,7 @@ interface IToolbarProps {
|
|
|
14
16
|
}
|
|
15
17
|
interface IButtonBarProps {
|
|
16
18
|
label?: string;
|
|
17
|
-
iconName?:
|
|
19
|
+
iconName?: IconNames;
|
|
18
20
|
type?: ButtonTypes;
|
|
19
21
|
icon?: ReactElement;
|
|
20
22
|
onClick?: () => void;
|
|
@@ -27,7 +29,7 @@ interface IButtonBarProps {
|
|
|
27
29
|
onNodeElementClick?: (node: NodeItem) => void;
|
|
28
30
|
}
|
|
29
31
|
interface ILabelBarProps {
|
|
30
|
-
iconName?:
|
|
32
|
+
iconName?: IconNames;
|
|
31
33
|
bordered?: boolean;
|
|
32
34
|
icon?: ReactElement;
|
|
33
35
|
children?: ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
2
2
|
import { PermissionAttr } from './@types/PermissionAttr.js';
|
|
3
3
|
import ColorStyles from './internals/colorStyles.js';
|
|
4
|
+
import { IconNames } from './@types/Icon.js';
|
|
4
5
|
|
|
5
6
|
declare function numberAroundZeroAndOne({ props, propName, componentName }: IParameterFunction): Error | null;
|
|
6
7
|
declare const PanelContext: React__default.Context<ContextProps>;
|
|
@@ -22,7 +23,7 @@ interface IPanelHeaderProps {
|
|
|
22
23
|
title?: string;
|
|
23
24
|
children?: ReactElement;
|
|
24
25
|
icon?: ReactElement;
|
|
25
|
-
titleIcon?:
|
|
26
|
+
titleIcon?: IconNames;
|
|
26
27
|
customClass?: string;
|
|
27
28
|
style?: object;
|
|
28
29
|
styleForTitle?: object;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|