@guillotinaweb/react-gmi 0.29.0 → 0.29.2-alpha.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/dist/components/index.d.ts +0 -2
- package/dist/components/input/email.d.ts +1 -1
- package/dist/components/selected_items_actions.d.ts +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/react-gmi.esm.js +300 -193
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +300 -193
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +263 -155
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +300 -193
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +2 -2
- package/dist/lib/search.test.d.ts +0 -1
- package/dist/locales/generic_messages.d.ts +0 -370
- package/dist/setupTests.d.ts +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './input/button';
|
|
2
1
|
export * from './input/checkbox';
|
|
3
2
|
export * from './input/email';
|
|
4
3
|
export * from './input/form_builder';
|
|
@@ -6,7 +5,6 @@ export * from './input/form';
|
|
|
6
5
|
export * from './input/input';
|
|
7
6
|
export * from './input/password';
|
|
8
7
|
export * from './input/select';
|
|
9
|
-
export * from './input/select_vocabulary';
|
|
10
8
|
export * from './input/upload';
|
|
11
9
|
export * from './input/textarea';
|
|
12
10
|
export * from './input/search_input';
|
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const EmailInput: ({ value, dataTest, placeholder, id, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const EmailInput: ({ value, dataTest, placeholder, id, onChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SearchItem } from '../types/guillotina';
|
|
3
|
+
/**
|
|
4
|
+
* Actions to apply after select some items
|
|
5
|
+
* Ex: Delete, Move, Copy...
|
|
6
|
+
*/
|
|
3
7
|
interface PropsItemsActionsProvider {
|
|
4
8
|
items: SearchItem[];
|
|
5
9
|
children: React.ReactNode;
|
|
6
10
|
}
|
|
7
11
|
export declare function ItemsActionsProvider({ items, children, }: PropsItemsActionsProvider): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* Checkbox component without props that consume the ItemsActionsContext
|
|
14
|
+
* and it select/unselect all items of the page.
|
|
15
|
+
*/
|
|
8
16
|
export declare function AllItemsCheckbox({ dataTest }: {
|
|
9
17
|
dataTest?: string;
|
|
10
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* Checkbox component to select ONE item.
|
|
21
|
+
*/
|
|
11
22
|
interface PropsItemCheckbox {
|
|
12
23
|
item: SearchItem;
|
|
13
24
|
dataTest?: string;
|
|
14
25
|
}
|
|
15
26
|
export declare function ItemCheckbox({ item, dataTest }: PropsItemCheckbox): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* Dropdown to choose some action to apply to the selected items.
|
|
29
|
+
*/
|
|
16
30
|
export declare function ItemsActionsDropdown(): import("react/jsx-runtime").JSX.Element;
|
|
17
31
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './actions';
|
|
2
2
|
export * from './components';
|
|
3
|
+
export { Button } from './components/input/button';
|
|
4
|
+
export { SelectVocabulary } from './components/input/select_vocabulary';
|
|
3
5
|
export * from './contexts';
|
|
4
6
|
export * from './forms/base';
|
|
5
7
|
export * from './forms/users';
|