mayak-common-library 0.0.36 → 0.0.38
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/index.d.mts +2 -12
- package/dist/index.d.ts +2 -12
- package/package.json +4 -1
package/dist/index.d.mts
CHANGED
|
@@ -206,17 +206,7 @@ type Values = {
|
|
|
206
206
|
title: string;
|
|
207
207
|
}[];
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
type: string;
|
|
211
|
-
place: string;
|
|
212
|
-
room: [];
|
|
213
|
-
price: string;
|
|
214
|
-
districts: string[];
|
|
215
|
-
town: string[];
|
|
216
|
-
searchText: string;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
209
|
+
interface ToggleButtonsMultipleProps<T> extends ToggleButtonGroupProps$1 {
|
|
220
210
|
values: Values;
|
|
221
211
|
textView?: boolean;
|
|
222
212
|
collapseOnClick?: boolean;
|
|
@@ -224,7 +214,7 @@ interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
|
224
214
|
label?: string;
|
|
225
215
|
flexDirection?: "row" | "col";
|
|
226
216
|
}
|
|
227
|
-
declare const ToggleButtonsWithLabel:
|
|
217
|
+
declare const ToggleButtonsWithLabel: <T extends object>(props: ToggleButtonsMultipleProps<T> & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
228
218
|
|
|
229
219
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
230
220
|
textView?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -206,17 +206,7 @@ type Values = {
|
|
|
206
206
|
title: string;
|
|
207
207
|
}[];
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
type: string;
|
|
211
|
-
place: string;
|
|
212
|
-
room: [];
|
|
213
|
-
price: string;
|
|
214
|
-
districts: string[];
|
|
215
|
-
town: string[];
|
|
216
|
-
searchText: string;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
209
|
+
interface ToggleButtonsMultipleProps<T> extends ToggleButtonGroupProps$1 {
|
|
220
210
|
values: Values;
|
|
221
211
|
textView?: boolean;
|
|
222
212
|
collapseOnClick?: boolean;
|
|
@@ -224,7 +214,7 @@ interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
|
224
214
|
label?: string;
|
|
225
215
|
flexDirection?: "row" | "col";
|
|
226
216
|
}
|
|
227
|
-
declare const ToggleButtonsWithLabel:
|
|
217
|
+
declare const ToggleButtonsWithLabel: <T extends object>(props: ToggleButtonsMultipleProps<T> & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
228
218
|
|
|
229
219
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
230
220
|
textView?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mayak-common-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"stylis": "^4.3.2",
|
|
28
28
|
"tailwindcss": "^3.4.4"
|
|
29
29
|
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"react-hook-form": "^7.52.0"
|
|
32
|
+
},
|
|
30
33
|
"devDependencies": {
|
|
31
34
|
"@contentful/rich-text-types": "^16.8.1",
|
|
32
35
|
"@svgr/webpack": "^8.1.0",
|