dhre-component-lib 0.2.8 → 0.2.9
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/Search/Search.d.ts +2 -0
- package/dist/components/Tabs/Tabs.d.ts +12 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/index.d.ts +13 -1
- package/dist/index.esm.js +58 -33
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +58 -32
- package/dist/index.js.map +1 -1
- package/dist/theme/colors/colors.scss +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ interface CustomSearchFieldProps {
|
|
|
19
19
|
suggestions: Suggestion[] | null | undefined;
|
|
20
20
|
placeholder: string;
|
|
21
21
|
className?: string;
|
|
22
|
+
onSearchIconClick?: () => void;
|
|
23
|
+
onHandleClear?: () => void;
|
|
22
24
|
}
|
|
23
25
|
declare const Search: React.FC<CustomSearchFieldProps>;
|
|
24
26
|
export default Search;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./Tabs.module.scss";
|
|
3
|
+
type Tab = {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
interface TabsProps {
|
|
8
|
+
tabs: Tab[];
|
|
9
|
+
onTabChange: (selectedTab: Tab) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
12
|
+
export default Tabs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Tabs";
|
package/dist/index.d.ts
CHANGED
|
@@ -190,6 +190,8 @@ interface CustomSearchFieldProps {
|
|
|
190
190
|
suggestions: Suggestion[] | null | undefined;
|
|
191
191
|
placeholder: string;
|
|
192
192
|
className?: string;
|
|
193
|
+
onSearchIconClick?: () => void;
|
|
194
|
+
onHandleClear?: () => void;
|
|
193
195
|
}
|
|
194
196
|
declare const Search: React.FC<CustomSearchFieldProps>;
|
|
195
197
|
|
|
@@ -214,4 +216,14 @@ type AccordionProps = {
|
|
|
214
216
|
};
|
|
215
217
|
declare const Accordion: React.FC<AccordionProps>;
|
|
216
218
|
|
|
217
|
-
|
|
219
|
+
type Tab = {
|
|
220
|
+
name: string;
|
|
221
|
+
value: string;
|
|
222
|
+
};
|
|
223
|
+
interface TabsProps {
|
|
224
|
+
tabs: Tab[];
|
|
225
|
+
onTabChange: (selectedTab: Tab) => void;
|
|
226
|
+
}
|
|
227
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
228
|
+
|
|
229
|
+
export { Accordion as Accordian, Avatar, Badge, Breadcrumb as BreadCrumb, Button, CustomCheckbox as Checkbox, CircularProgress, GetDirectionAction as Directions, CustomDivider as Divider, MapComponent as GoogleMap, CustomInputField as InputTextField, Link, Modal, OTPInput as OtpInput, Progress, CustomRadioButton as RadioButton, Search, Tabs, Typography, PdfView as default };
|