@bigbinary/neeto-molecules 4.0.145 → 4.0.147
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/FinderModal.js +61 -73
- package/dist/FinderModal.js.map +1 -1
- package/dist/cjs/FinderModal.js +59 -71
- package/dist/cjs/FinderModal.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/ar.json +3 -0
- package/src/translations/bg.json +3 -0
- package/src/translations/ca.json +3 -0
- package/src/translations/cs.json +3 -0
- package/src/translations/da.json +3 -0
- package/src/translations/de.json +3 -0
- package/src/translations/es-MX.json +3 -0
- package/src/translations/es.json +3 -0
- package/src/translations/et.json +3 -0
- package/src/translations/fi.json +3 -0
- package/src/translations/fil.json +3 -0
- package/src/translations/fr.json +3 -0
- package/src/translations/he.json +3 -0
- package/src/translations/hi.json +3 -0
- package/src/translations/hr.json +3 -0
- package/src/translations/id.json +3 -0
- package/src/translations/it.json +3 -0
- package/src/translations/ja.json +3 -0
- package/src/translations/ko.json +3 -0
- package/src/translations/nl.json +3 -0
- package/src/translations/pl.json +3 -0
- package/src/translations/pt-BR.json +3 -0
- package/src/translations/pt.json +3 -0
- package/src/translations/ro.json +3 -0
- package/src/translations/ru.json +3 -0
- package/src/translations/sk.json +3 -0
- package/src/translations/sl.json +3 -0
- package/src/translations/sv.json +3 -0
- package/src/translations/th.json +3 -0
- package/src/translations/tr.json +3 -0
- package/src/translations/uk.json +3 -0
- package/src/translations/vi.json +3 -0
- package/src/translations/zh-CN.json +3 -0
- package/src/translations/zh-TW.json +3 -0
- package/types/FinderModal.d.ts +0 -8
package/src/translations/pl.json
CHANGED
package/src/translations/pt.json
CHANGED
|
@@ -930,6 +930,9 @@
|
|
|
930
930
|
"paneTitle": "Histórico de versões",
|
|
931
931
|
"publishedVersions": "Versões publicadas",
|
|
932
932
|
"refreshButtonTooltip": "Atualizar histórico de versões"
|
|
933
|
+
},
|
|
934
|
+
"breadcrumbs": {
|
|
935
|
+
"breadcrumbAriaLabel": "Navegação"
|
|
933
936
|
}
|
|
934
937
|
},
|
|
935
938
|
"taxonomyDefaultLabels": {
|
package/src/translations/ro.json
CHANGED
package/src/translations/ru.json
CHANGED
|
@@ -930,6 +930,9 @@
|
|
|
930
930
|
"buttonAriaLabel": "Кнопка дополнительных опций",
|
|
931
931
|
"menuAriaLabel": "Дополнительные опции",
|
|
932
932
|
"submenuAriaLabel": "{{label}} подменю"
|
|
933
|
+
},
|
|
934
|
+
"breadcrumbs": {
|
|
935
|
+
"breadcrumbAriaLabel": "Хлебные крошки"
|
|
933
936
|
}
|
|
934
937
|
},
|
|
935
938
|
"taxonomyDefaultLabels": {
|
package/src/translations/sk.json
CHANGED
package/src/translations/sl.json
CHANGED
package/src/translations/sv.json
CHANGED
package/src/translations/th.json
CHANGED
package/src/translations/tr.json
CHANGED
package/src/translations/uk.json
CHANGED
package/src/translations/vi.json
CHANGED
package/types/FinderModal.d.ts
CHANGED
|
@@ -9,9 +9,6 @@ interface Data {
|
|
|
9
9
|
name?: string;
|
|
10
10
|
}>;
|
|
11
11
|
}
|
|
12
|
-
interface IconComponentMap {
|
|
13
|
-
[key: string]: React.ComponentType;
|
|
14
|
-
}
|
|
15
12
|
/**
|
|
16
13
|
*
|
|
17
14
|
* FinderModal is a component that can be used to search for items across the
|
|
@@ -24,21 +21,17 @@ interface IconComponentMap {
|
|
|
24
21
|
*
|
|
25
22
|
* import { useState } from "react";
|
|
26
23
|
*
|
|
27
|
-
* import { Tickets, UserCircle } from "@bigbinary/neeto-icons";
|
|
28
24
|
* import FinderModal from "@bigbinary/neeto-molecules/FinderModal";
|
|
29
25
|
*
|
|
30
26
|
* const App = () => {
|
|
31
27
|
* const [searchTerm, setSearchTerm] = useState("");
|
|
32
28
|
* const [isFinderModalOpen, setIsFinderModalOpen] = useState(false);
|
|
33
29
|
*
|
|
34
|
-
* const iconComponentMap = { tickets: Tickets, contacts: UserCircle };
|
|
35
|
-
*
|
|
36
30
|
* const { data: searchResults, isFetching } = useSearchApi({ searchTerm });
|
|
37
31
|
*
|
|
38
32
|
* return (
|
|
39
33
|
* <FinderModal
|
|
40
34
|
* data={searchResults}
|
|
41
|
-
* iconComponentMap={iconComponentMap}
|
|
42
35
|
* isFetching={isFetching}
|
|
43
36
|
* isOpen={isFinderModalOpen}
|
|
44
37
|
* setSearchTerm={setSearchTerm}
|
|
@@ -54,7 +47,6 @@ interface IconComponentMap {
|
|
|
54
47
|
declare const FinderModal: React.FC<{
|
|
55
48
|
enableAdvancedSearch?: boolean;
|
|
56
49
|
data: Data;
|
|
57
|
-
iconComponentMap: IconComponentMap;
|
|
58
50
|
isFetching: boolean;
|
|
59
51
|
isOpen: boolean;
|
|
60
52
|
searchTerm: string;
|