@web-fuse/wf-components 1.0.4 → 1.0.6

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * returns a random string with the desired length
3
+ */
4
+ declare const getRandomString: (length: number) => string;
5
+ export default getRandomString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web-fuse/wf-components",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A library containing common form and display components",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -34,6 +34,7 @@
34
34
  "@types/react": "^18.2.66",
35
35
  "@types/react-copy-to-clipboard": "^5.0.7",
36
36
  "@types/react-dom": "^18.2.22",
37
+ "@types/react-syntax-highlighter": "^15.5.13",
37
38
  "@typescript-eslint/eslint-plugin": "^7.4.0",
38
39
  "@typescript-eslint/parser": "^7.4.0",
39
40
  "eslint": "^8.57.0",
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { InputProps as AntProps, InputRef } from "antd";
3
- export declare const HtmlInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<AntProps & import("react").RefAttributes<InputRef>, "ref"> & {
4
- ref?: import("react").Ref<InputRef>;
5
- }, never>> & Omit<import("react").ForwardRefExoticComponent<AntProps & import("react").RefAttributes<InputRef>> & {
6
- Group: import("react").FC<import("antd/es/input").GroupProps>;
7
- Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<InputRef>>;
8
- TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
9
- Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<InputRef>>;
10
- OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
11
- }, keyof import("react").Component<any, {}, any>>;
12
- interface InputProps extends AntProps {
13
- label?: React.ReactNode;
14
- }
15
- declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<InputRef>>;
16
- export default Input;