revdev-components 0.65.0 → 0.67.0

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/build/index.js CHANGED
@@ -42,8 +42,8 @@ var ContentHeader2 = function (_a) {
42
42
  var s$u = {"root":"index-module_root__Fq-q1"};
43
43
 
44
44
  var Paragraph = function (_a) {
45
- var children = _a.children;
46
- return React.createElement("p", { className: s$u.root }, children);
45
+ var children = _a.children, className = _a.className;
46
+ return React.createElement("p", { className: classNames(s$u.root, className) }, children);
47
47
  };
48
48
 
49
49
  var s$t = {"root":"index-module_root__VIFF-"};
@@ -5220,7 +5220,7 @@ function OptionsAutocomplete(_a) {
5220
5220
  }, []);
5221
5221
  useDebounceEffect(300, function () {
5222
5222
  if (text) {
5223
- requestAction(text);
5223
+ requestAction(text, options);
5224
5224
  }
5225
5225
  else {
5226
5226
  setOptions([]);
@@ -3,7 +3,7 @@ import { ValueOption } from "src/interfaces";
3
3
  interface Props<T> {
4
4
  onChange: (options: string[]) => void;
5
5
  placeholder?: string;
6
- requestAction: (text: string) => void;
6
+ requestAction: (text: string, options: ValueOption[]) => void;
7
7
  requestResponse: {
8
8
  isSuccess: boolean;
9
9
  isLoading: boolean;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  interface Props {
3
3
  children: React.ReactNode;
4
+ className?: string;
4
5
  }
5
6
  export declare const Paragraph: React.FC<Props>;
6
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.65.0",
3
+ "version": "0.67.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {