@bigbinary/neetoui 4.4.26 → 5.0.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/README.md +177 -18
- package/formik.cjs.js +686 -450
- package/formik.cjs.js.map +1 -1
- package/formik.js +686 -450
- package/formik.js.map +1 -1
- package/index.cjs.js +10298 -10255
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +3 -6
- package/index.js +10298 -10254
- package/index.js.map +1 -1
- package/layouts.cjs.js +2074 -24756
- package/layouts.cjs.js.map +1 -1
- package/layouts.js +1920 -24577
- package/layouts.js.map +1 -1
- package/package.json +3 -2
- package/layouts.d.ts +0 -169
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neetoui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"main": "./index.cjs.js",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
"react-colorful": "^5.6.1",
|
|
141
141
|
"react-dom": "17.0.2",
|
|
142
142
|
"react-hotkeys-hook": "3.3.2",
|
|
143
|
+
"react-i18next": "11.16.8",
|
|
143
144
|
"react-linkify": "1.0.0-alpha",
|
|
144
145
|
"react-outside-click-handler": "1.3.0",
|
|
145
146
|
"react-router-dom": "5.3.0",
|
|
@@ -193,5 +194,5 @@
|
|
|
193
194
|
"bugs": {
|
|
194
195
|
"url": "https://github.com/bigbinary/neeto-ui/issues"
|
|
195
196
|
},
|
|
196
|
-
"homepage": "https://
|
|
197
|
+
"homepage": "https://neeto-ui.neeto.com"
|
|
197
198
|
}
|
package/layouts.d.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NavLinkProps } from "react-router-dom";
|
|
3
|
-
import { AvatarProps, InputProps, ButtonProps } from "./index";
|
|
4
|
-
|
|
5
|
-
export interface AppSwitcherProps {
|
|
6
|
-
isOpen?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
closeOnEsc?: boolean;
|
|
9
|
-
closeOnOutsideClick?: boolean;
|
|
10
|
-
activeApp?: string;
|
|
11
|
-
neetoApps?: {
|
|
12
|
-
name: string;
|
|
13
|
-
description: string;
|
|
14
|
-
url: string;
|
|
15
|
-
}[];
|
|
16
|
-
recentApps?: string[];
|
|
17
|
-
isSidebarOpen?: boolean;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface ContainerProps {
|
|
23
|
-
isHeaderFixed?: boolean;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface HeaderProps {
|
|
27
|
-
title?: React.ReactNode;
|
|
28
|
-
menuBarToggle?: () => void;
|
|
29
|
-
searchProps?: InputProps;
|
|
30
|
-
className?: string;
|
|
31
|
-
actionBlock?: React.ReactNode;
|
|
32
|
-
breadcrumbs?: { text: React.ReactNode; link: string }[];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface MenuBarProps {
|
|
36
|
-
title?: string;
|
|
37
|
-
className?: string;
|
|
38
|
-
showMenu?: boolean;
|
|
39
|
-
"data-cy"?: string;
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface MenuBarBlockProps {
|
|
44
|
-
label: string;
|
|
45
|
-
url?: string;
|
|
46
|
-
icon?: React.ReactNode;
|
|
47
|
-
count?: number;
|
|
48
|
-
active?: boolean;
|
|
49
|
-
onEdit?: Function;
|
|
50
|
-
onClick?: Function;
|
|
51
|
-
className?: string;
|
|
52
|
-
"data-cy"?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface MenuBarItemProps
|
|
56
|
-
extends React.DetailedHTMLProps<
|
|
57
|
-
React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
58
|
-
HTMLButtonElement
|
|
59
|
-
> {
|
|
60
|
-
label?: string;
|
|
61
|
-
description?: string;
|
|
62
|
-
active?: boolean;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface MenuBarSubTitleProps {
|
|
66
|
-
iconProps?: ButtonProps;
|
|
67
|
-
"data-cy"?: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface MenuBarSearchProps extends InputProps {
|
|
71
|
-
collapse?: boolean;
|
|
72
|
-
onCollapse?: Function;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface MenuBarAddNewProps
|
|
76
|
-
extends React.DetailedHTMLProps<
|
|
77
|
-
React.HTMLAttributes<HTMLDivElement>,
|
|
78
|
-
HTMLDivElement
|
|
79
|
-
> {
|
|
80
|
-
label?: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export type ScrollableProps = {
|
|
84
|
-
className?: string;
|
|
85
|
-
size?: "small" | "large" | "viewport";
|
|
86
|
-
} & React.DetailedHTMLProps<
|
|
87
|
-
React.HTMLAttributes<HTMLDivElement>,
|
|
88
|
-
HTMLDivElement
|
|
89
|
-
>;
|
|
90
|
-
|
|
91
|
-
type NavLinkItemType = {
|
|
92
|
-
to: string;
|
|
93
|
-
label?: React.ReactNode;
|
|
94
|
-
icon?: any;
|
|
95
|
-
description?: React.ReactNode;
|
|
96
|
-
} & React.PropsWithoutRef<NavLinkProps<any>> &
|
|
97
|
-
React.RefAttributes<HTMLAnchorElement>;
|
|
98
|
-
|
|
99
|
-
type FooterLinkType = {
|
|
100
|
-
label?: React.ReactNode;
|
|
101
|
-
icon?: any;
|
|
102
|
-
href?: string;
|
|
103
|
-
to?: string;
|
|
104
|
-
} & React.DetailedHTMLProps<
|
|
105
|
-
React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
106
|
-
HTMLAnchorElement
|
|
107
|
-
> &
|
|
108
|
-
React.PropsWithoutRef<NavLinkProps<any>> &
|
|
109
|
-
React.RefAttributes<HTMLAnchorElement>;
|
|
110
|
-
|
|
111
|
-
type LinkType = {
|
|
112
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
113
|
-
label?: React.ReactNode;
|
|
114
|
-
icon?: any;
|
|
115
|
-
} & React.DetailedHTMLProps<
|
|
116
|
-
React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
117
|
-
HTMLButtonElement
|
|
118
|
-
>;
|
|
119
|
-
|
|
120
|
-
export interface SidebarProps {
|
|
121
|
-
organizationInfo?: {
|
|
122
|
-
logo?: React.ReactNode;
|
|
123
|
-
name?: React.ReactNode;
|
|
124
|
-
subdomain?: React.ReactNode;
|
|
125
|
-
};
|
|
126
|
-
navLinks?: NavLinkItemType[];
|
|
127
|
-
tooltipStyle?: "default" | "featured";
|
|
128
|
-
/** @deprecated Prop removed as footer links in sidebar is no longer supported*/
|
|
129
|
-
footerLinks?: FooterLinkType[];
|
|
130
|
-
helpLinks?: {
|
|
131
|
-
documentationProps?: LinkType;
|
|
132
|
-
keyboardShortcutProps?: LinkType;
|
|
133
|
-
liveChatProps?: LinkType;
|
|
134
|
-
changelogProps?: LinkType;
|
|
135
|
-
};
|
|
136
|
-
profileInfo?: {
|
|
137
|
-
name?: string;
|
|
138
|
-
email?: string;
|
|
139
|
-
topLinks?: LinkType[];
|
|
140
|
-
bottomLinks?: LinkType[];
|
|
141
|
-
customContent?: React.ReactNode;
|
|
142
|
-
"data-cy"?: string;
|
|
143
|
-
} & AvatarProps;
|
|
144
|
-
/** @deprecated Prop removed as expanded state of sidebar is no longer supported */
|
|
145
|
-
isCollapsed?: boolean;
|
|
146
|
-
showAppSwitcher?: boolean;
|
|
147
|
-
onAppSwitcherToggle?: React.MouseEventHandler<HTMLButtonElement>;
|
|
148
|
-
appName?: string;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface SubHeaderProps {
|
|
152
|
-
className?: string;
|
|
153
|
-
leftActionBlock?: React.ReactNode;
|
|
154
|
-
rightActionBlock?: React.ReactNode;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export const AppSwitcher: React.FC<AppSwitcherProps>;
|
|
158
|
-
export const Container: React.ForwardRefExoticComponent<ContainerProps>;
|
|
159
|
-
export const Header: React.FC<HeaderProps>;
|
|
160
|
-
export const MenuBar: React.FC<MenuBarProps> & {
|
|
161
|
-
Block: React.FC<MenuBarBlockProps>;
|
|
162
|
-
Item: React.FC<MenuBarItemProps>;
|
|
163
|
-
SubTitle: React.FC<MenuBarSubTitleProps>;
|
|
164
|
-
Search: React.FC<MenuBarSearchProps>;
|
|
165
|
-
AddNew: React.FC<MenuBarAddNewProps>;
|
|
166
|
-
};
|
|
167
|
-
export const Scrollable: React.FC<ScrollableProps>;
|
|
168
|
-
export const Sidebar: React.FC<SidebarProps>;
|
|
169
|
-
export const SubHeader: React.FC<SubHeaderProps>;
|