denwa-web-shared 1.0.2 → 1.0.4

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.
@@ -110,7 +110,7 @@ export declare const prepareColor: ({ color1, color2, notFoundText, COLORS_NAMES
110
110
  /**
111
111
  * @description Подготавливает серверную пагинацию для клиента
112
112
  * @param pagination - Серверная пагинация
113
- * @param baseUrl - url страницы
114
- * @param params - Параметры url
113
+ * @param baseUrl - Url страницы
114
+ * @param initialParams - Параметры url
115
115
  */
116
- export declare const generatePaginationArray: (pagination: IPaginate | null, baseUrl: string, params: URLSearchParams) => PaginationResult;
116
+ export declare const generatePaginationArray: (pagination: IPaginate | null, baseUrl: string, initialParams: Record<string, string>) => PaginationResult;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ interface HtmlContentProps {
3
+ html: string;
4
+ className?: string;
5
+ }
6
+ export declare const HtmlContent: FC<HtmlContentProps>;
7
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './infinity-list';
2
2
  export * from './image';
3
+ export * from './html-content';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "denwa-web-shared",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "type": "module",
6
6
  "author": "Denwa",
7
7
  "main": "dist/denwa-web-shared.umd.js",
@@ -31,6 +31,8 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "clsx": "^2.1.1",
34
+ "html-react-parser": "^5.2.6",
35
+ "isomorphic-dompurify": "^2.26.0",
34
36
  "react": "^19.1.0",
35
37
  "react-dom": "^19.1.0",
36
38
  "react-use": "^17.6.0",