@rufous/ui 0.1.18 → 0.1.22
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/Buttons/{Button.cjs → addButton.cjs} +9 -12
- package/dist/Buttons/addButton.d.cts +8 -0
- package/dist/Buttons/addButton.d.ts +8 -0
- package/dist/Buttons/addButton.js +6 -0
- package/dist/Buttons/cancelButton.cjs +37 -0
- package/dist/Buttons/cancelButton.d.cts +8 -0
- package/dist/Buttons/cancelButton.d.ts +8 -0
- package/dist/Buttons/cancelButton.js +6 -0
- package/dist/Buttons/index.cjs +75 -0
- package/dist/Buttons/index.d.cts +4 -0
- package/dist/Buttons/index.d.ts +4 -0
- package/dist/Buttons/index.js +15 -0
- package/dist/Buttons/submitButton.cjs +53 -0
- package/dist/Buttons/submitButton.d.cts +11 -0
- package/dist/Buttons/submitButton.d.ts +11 -0
- package/dist/Buttons/submitButton.js +6 -0
- package/dist/CheckBoxes/CheckBox.js +25 -3
- package/dist/TextFields/FloatingInput.js +28 -3
- package/dist/chunk-5TL73FV7.js +10 -0
- package/dist/chunk-5UEJAVFK.js +10 -0
- package/dist/chunk-7DL4MCF7.js +24 -0
- package/dist/chunk-GESVGIAP.js +10 -0
- package/dist/chunk-QIEQRNBE.js +10 -0
- package/dist/chunk-UF3Q3GWG.js +8 -0
- package/dist/icons/helpOutlinedIcon.cjs +1 -53
- package/dist/icons/helpOutlinedIcon.js +1 -1
- package/dist/icons/index.cjs +3 -200
- package/dist/icons/index.js +35 -35
- package/dist/icons/nineDotMenuIcon.cjs +1 -146
- package/dist/icons/nineDotMenuIcon.js +1 -1
- package/dist/icons/notificationIcon.cjs +1 -1
- package/dist/icons/notificationIcon.js +1 -1
- package/dist/icons/rufousAiIcon.cjs +37 -0
- package/dist/icons/rufousAiIcon.d.cts +8 -0
- package/dist/icons/rufousAiIcon.d.ts +8 -0
- package/dist/icons/rufousAiIcon.js +7 -0
- package/dist/main.cjs +210 -435
- package/dist/main.css +69 -0
- package/dist/main.d.cts +3 -3
- package/dist/main.d.ts +3 -3
- package/dist/main.js +50 -49
- package/dist/style.css +69 -0
- package/dist/styles/button.css +68 -0
- package/dist/styles/button.d.cts +2 -0
- package/dist/styles/button.d.ts +2 -0
- package/package.json +1 -1
- package/dist/Buttons/Button.d.cjs +0 -17
- package/dist/Buttons/Button.d.cts +0 -10
- package/dist/Buttons/Button.d.d.cts +0 -10
- package/dist/Buttons/Button.d.d.ts +0 -10
- package/dist/Buttons/Button.d.ts +0 -10
- package/dist/Buttons/Button.js +0 -6
- package/dist/chunk-ASP3DBRX.js +0 -9
- package/dist/chunk-AWA5Y5LH.js +0 -32
- package/dist/chunk-D7SFBVJY.js +0 -155
- package/dist/chunk-MWCKUVQG.js +0 -10
- package/dist/chunk-PULIGWAP.js +0 -62
- package/dist/chunk-QKDJLUKZ.js +0 -29
- /package/dist/{Buttons/Button.d.js → chunk-JSGUIKOH.js} +0 -0
|
@@ -26,17 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// lib/Buttons/
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
32
|
-
|
|
29
|
+
// lib/Buttons/addButton.tsx
|
|
30
|
+
var addButton_exports = {};
|
|
31
|
+
__export(addButton_exports, {
|
|
32
|
+
default: () => addButton_default
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
return /* @__PURE__ */
|
|
34
|
+
module.exports = __toCommonJS(addButton_exports);
|
|
35
|
+
var React = __toESM(require("react"), 1);
|
|
36
|
+
var AddButton = ({ children, ...props }) => {
|
|
37
|
+
return /* @__PURE__ */ React.createElement("button", { className: "add-btn", ...props }, "+", children);
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
0 && (module.exports = {
|
|
41
|
-
Button
|
|
42
|
-
});
|
|
39
|
+
var addButton_default = AddButton;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// lib/Buttons/cancelButton.tsx
|
|
30
|
+
var cancelButton_exports = {};
|
|
31
|
+
__export(cancelButton_exports, {
|
|
32
|
+
default: () => cancelButton_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(cancelButton_exports);
|
|
35
|
+
var React = __toESM(require("react"), 1);
|
|
36
|
+
var CancelButton = ({ children, ...props }) => /* @__PURE__ */ React.createElement("button", { className: "cancel-btn", ...props }, children);
|
|
37
|
+
var cancelButton_default = CancelButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CancelButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
children: string;
|
|
5
|
+
}
|
|
6
|
+
declare const CancelButton: React.FC<CancelButtonProps>;
|
|
7
|
+
|
|
8
|
+
export { type CancelButtonProps, CancelButton as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CancelButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
children: string;
|
|
5
|
+
}
|
|
6
|
+
declare const CancelButton: React.FC<CancelButtonProps>;
|
|
7
|
+
|
|
8
|
+
export { type CancelButtonProps, CancelButton as default };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// lib/Buttons/index.ts
|
|
30
|
+
var Buttons_exports = {};
|
|
31
|
+
__export(Buttons_exports, {
|
|
32
|
+
AddButton: () => addButton_default,
|
|
33
|
+
CancelButton: () => cancelButton_default,
|
|
34
|
+
SubmitButton: () => submitButton_default
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(Buttons_exports);
|
|
37
|
+
|
|
38
|
+
// lib/Buttons/addButton.tsx
|
|
39
|
+
var React = __toESM(require("react"), 1);
|
|
40
|
+
var AddButton = ({ children, ...props }) => {
|
|
41
|
+
return /* @__PURE__ */ React.createElement("button", { className: "add-btn", ...props }, "+", children);
|
|
42
|
+
};
|
|
43
|
+
var addButton_default = AddButton;
|
|
44
|
+
|
|
45
|
+
// lib/Buttons/submitButton.tsx
|
|
46
|
+
var React2 = __toESM(require("react"), 1);
|
|
47
|
+
var SubmitButton = ({
|
|
48
|
+
children,
|
|
49
|
+
type = "submit",
|
|
50
|
+
onClick,
|
|
51
|
+
loading = false,
|
|
52
|
+
...props
|
|
53
|
+
}) => {
|
|
54
|
+
const buttonProps = {
|
|
55
|
+
...props,
|
|
56
|
+
className: `submit-btn ${props.className ?? ""}`,
|
|
57
|
+
onClick,
|
|
58
|
+
disabled: props.disabled || loading,
|
|
59
|
+
...onClick ? {} : { type }
|
|
60
|
+
// only set type when no onClick
|
|
61
|
+
};
|
|
62
|
+
return /* @__PURE__ */ React2.createElement("button", { ...buttonProps }, loading ? "Loading..." : children);
|
|
63
|
+
};
|
|
64
|
+
var submitButton_default = SubmitButton;
|
|
65
|
+
|
|
66
|
+
// lib/Buttons/cancelButton.tsx
|
|
67
|
+
var React3 = __toESM(require("react"), 1);
|
|
68
|
+
var CancelButton = ({ children, ...props }) => /* @__PURE__ */ React3.createElement("button", { className: "cancel-btn", ...props }, children);
|
|
69
|
+
var cancelButton_default = CancelButton;
|
|
70
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
+
0 && (module.exports = {
|
|
72
|
+
AddButton,
|
|
73
|
+
CancelButton,
|
|
74
|
+
SubmitButton
|
|
75
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../chunk-JSGUIKOH.js";
|
|
2
|
+
import {
|
|
3
|
+
addButton_default
|
|
4
|
+
} from "../chunk-5TL73FV7.js";
|
|
5
|
+
import {
|
|
6
|
+
cancelButton_default
|
|
7
|
+
} from "../chunk-UF3Q3GWG.js";
|
|
8
|
+
import {
|
|
9
|
+
submitButton_default
|
|
10
|
+
} from "../chunk-7DL4MCF7.js";
|
|
11
|
+
export {
|
|
12
|
+
addButton_default as AddButton,
|
|
13
|
+
cancelButton_default as CancelButton,
|
|
14
|
+
submitButton_default as SubmitButton
|
|
15
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// lib/Buttons/submitButton.tsx
|
|
30
|
+
var submitButton_exports = {};
|
|
31
|
+
__export(submitButton_exports, {
|
|
32
|
+
default: () => submitButton_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(submitButton_exports);
|
|
35
|
+
var React = __toESM(require("react"), 1);
|
|
36
|
+
var SubmitButton = ({
|
|
37
|
+
children,
|
|
38
|
+
type = "submit",
|
|
39
|
+
onClick,
|
|
40
|
+
loading = false,
|
|
41
|
+
...props
|
|
42
|
+
}) => {
|
|
43
|
+
const buttonProps = {
|
|
44
|
+
...props,
|
|
45
|
+
className: `submit-btn ${props.className ?? ""}`,
|
|
46
|
+
onClick,
|
|
47
|
+
disabled: props.disabled || loading,
|
|
48
|
+
...onClick ? {} : { type }
|
|
49
|
+
// only set type when no onClick
|
|
50
|
+
};
|
|
51
|
+
return /* @__PURE__ */ React.createElement("button", { ...buttonProps }, loading ? "Loading..." : children);
|
|
52
|
+
};
|
|
53
|
+
var submitButton_default = SubmitButton;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubmitButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
type?: "button" | "submit" | "reset";
|
|
6
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const SubmitButton: React.FC<SubmitButtonProps>;
|
|
10
|
+
|
|
11
|
+
export { type SubmitButtonProps, SubmitButton as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SubmitButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
type?: "button" | "submit" | "reset";
|
|
6
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const SubmitButton: React.FC<SubmitButtonProps>;
|
|
10
|
+
|
|
11
|
+
export { type SubmitButtonProps, SubmitButton as default };
|
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// lib/CheckBoxes/CheckBox.jsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var Checkbox = ({
|
|
4
|
+
id,
|
|
5
|
+
label,
|
|
6
|
+
checked,
|
|
7
|
+
onChange,
|
|
8
|
+
disabled = false,
|
|
9
|
+
className = "",
|
|
10
|
+
style
|
|
11
|
+
}) => {
|
|
12
|
+
const handleChange = (e) => {
|
|
13
|
+
onChange(e.target.checked);
|
|
14
|
+
};
|
|
15
|
+
return /* @__PURE__ */ React.createElement("div", { className: "checkbox-wrapper-13" }, /* @__PURE__ */ React.createElement("label", { className: `${className}`, style }, /* @__PURE__ */ React.createElement(
|
|
16
|
+
"input",
|
|
17
|
+
{
|
|
18
|
+
id,
|
|
19
|
+
type: "checkbox",
|
|
20
|
+
checked,
|
|
21
|
+
onChange: handleChange,
|
|
22
|
+
disabled
|
|
23
|
+
}
|
|
24
|
+
), label && /* @__PURE__ */ React.createElement("span", { className: "checkbox-label" }, label)));
|
|
25
|
+
};
|
|
4
26
|
export {
|
|
5
27
|
Checkbox
|
|
6
28
|
};
|
|
@@ -1,6 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// lib/TextFields/FloatingInput.jsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var FloatingInput = ({
|
|
4
|
+
label,
|
|
5
|
+
name,
|
|
6
|
+
id,
|
|
7
|
+
type = "text",
|
|
8
|
+
value,
|
|
9
|
+
onChange,
|
|
10
|
+
required = false,
|
|
11
|
+
placeholder,
|
|
12
|
+
className = "",
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
return /* @__PURE__ */ React.createElement("div", { className: `form__group field ${className}`, ...props }, /* @__PURE__ */ React.createElement(
|
|
16
|
+
"input",
|
|
17
|
+
{
|
|
18
|
+
type,
|
|
19
|
+
className: "form__field",
|
|
20
|
+
placeholder: placeholder || label,
|
|
21
|
+
name,
|
|
22
|
+
id: id || name,
|
|
23
|
+
value,
|
|
24
|
+
onChange,
|
|
25
|
+
required
|
|
26
|
+
}
|
|
27
|
+
), /* @__PURE__ */ React.createElement("label", { htmlFor: id || name, className: "form__label" }, label));
|
|
28
|
+
};
|
|
4
29
|
export {
|
|
5
30
|
FloatingInput
|
|
6
31
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// lib/Buttons/addButton.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
var AddButton = ({ children, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement("button", { className: "add-btn", ...props }, "+", children);
|
|
5
|
+
};
|
|
6
|
+
var addButton_default = AddButton;
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
addButton_default
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// lib/icons/helpOutlinedIcon.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var HelpOutlinedIcon = ({ color = "#5f6368", ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement("svg", { width: "32", height: "33", viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M16 31.3C24.2843 31.3 31 24.5843 31 16.3C31 8.01573 24.2843 1.3 16 1.3C7.71573 1.3 1 8.01573 1 16.3C1 24.5843 7.71573 31.3 16 31.3Z", stroke: color, "stroke-width": "2" }), /* @__PURE__ */ React.createElement("path", { d: "M15.967 7.6C15.2243 7.55686 14.4804 7.66158 13.7785 7.90808C13.0766 8.15458 12.4306 8.53796 11.878 9.036C11.1541 9.79654 10.7029 10.7756 10.595 11.82L12.77 12.1C12.8289 11.5409 13.0651 11.0153 13.444 10.6C13.7819 10.2913 14.1816 10.0579 14.6166 9.91528C15.0515 9.7727 15.5118 9.72421 15.967 9.773C16.9127 9.68268 17.8584 9.94635 18.621 10.513C18.8228 10.6923 18.9822 10.9143 19.0875 11.1628C19.1929 11.4114 19.2415 11.6803 19.23 11.95C19.23 13.755 18.49 14.256 17.403 15.213C16.6339 15.7793 16.006 16.5156 15.5684 17.3646C15.1308 18.2135 14.8951 19.152 14.88 20.107V20.651H17.055V20.107C17.055 18.302 17.729 17.801 18.817 16.844C19.596 16.2825 20.2348 15.5488 20.6837 14.6999C21.1326 13.851 21.3795 12.9099 21.405 11.95C21.4124 11.3782 21.3024 10.8109 21.0817 10.2834C20.861 9.75584 20.5343 9.2792 20.122 8.883C18.9456 7.95187 17.4635 7.49424 15.967 7.6ZM14.88 22.825V25H17.055V22.825H14.88Z", fill: color }));
|
|
5
|
+
};
|
|
6
|
+
var helpOutlinedIcon_default = HelpOutlinedIcon;
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
helpOutlinedIcon_default
|
|
10
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// lib/Buttons/submitButton.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
var SubmitButton = ({
|
|
4
|
+
children,
|
|
5
|
+
type = "submit",
|
|
6
|
+
onClick,
|
|
7
|
+
loading = false,
|
|
8
|
+
...props
|
|
9
|
+
}) => {
|
|
10
|
+
const buttonProps = {
|
|
11
|
+
...props,
|
|
12
|
+
className: `submit-btn ${props.className ?? ""}`,
|
|
13
|
+
onClick,
|
|
14
|
+
disabled: props.disabled || loading,
|
|
15
|
+
...onClick ? {} : { type }
|
|
16
|
+
// only set type when no onClick
|
|
17
|
+
};
|
|
18
|
+
return /* @__PURE__ */ React.createElement("button", { ...buttonProps }, loading ? "Loading..." : children);
|
|
19
|
+
};
|
|
20
|
+
var submitButton_default = SubmitButton;
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
submitButton_default
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// lib/icons/nineDotMenuIcon.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var NineDotMenuIcon = ({ color = "#707070", ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement("svg", { width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M6 0H1C0.447715 0 0 0.447715 0 1V6C0 6.55228 0.447715 7 1 7H6C6.55228 7 7 6.55228 7 6V1C7 0.447715 6.55228 0 6 0Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M15 0H10C9.44772 0 9 0.447715 9 1V6C9 6.55228 9.44772 7 10 7H15C15.5523 7 16 6.55228 16 6V1C16 0.447715 15.5523 0 15 0Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M24 0H19C18.4477 0 18 0.447715 18 1V6C18 6.55228 18.4477 7 19 7H24C24.5523 7 25 6.55228 25 6V1C25 0.447715 24.5523 0 24 0Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M6 9H1C0.447715 9 0 9.44772 0 10V15C0 15.5523 0.447715 16 1 16H6C6.55228 16 7 15.5523 7 15V10C7 9.44772 6.55228 9 6 9Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M15 9H10C9.44772 9 9 9.44772 9 10V15C9 15.5523 9.44772 16 10 16H15C15.5523 16 16 15.5523 16 15V10C16 9.44772 15.5523 9 15 9Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M24 9H19C18.4477 9 18 9.44772 18 10V15C18 15.5523 18.4477 16 19 16H24C24.5523 16 25 15.5523 25 15V10C25 9.44772 24.5523 9 24 9Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M6 18H1C0.447715 18 0 18.4477 0 19V24C0 24.5523 0.447715 25 1 25H6C6.55228 25 7 24.5523 7 24V19C7 18.4477 6.55228 18 6 18Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M15 18H10C9.44772 18 9 18.4477 9 19V24C9 24.5523 9.44772 25 10 25H15C15.5523 25 16 24.5523 16 24V19C16 18.4477 15.5523 18 15 18Z", fill: color }), /* @__PURE__ */ React.createElement("path", { d: "M24 18H19C18.4477 18 18 18.4477 18 19V24C18 24.5523 18.4477 25 19 25H24C24.5523 25 25 24.5523 25 24V19C25 18.4477 24.5523 18 24 18Z", fill: color }));
|
|
5
|
+
};
|
|
6
|
+
var nineDotMenuIcon_default = NineDotMenuIcon;
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
nineDotMenuIcon_default
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// lib/icons/notificationIcon.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement("svg", { width: "27", height: "31", viewBox: "0 0 27 31", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M13.661 30.94C14.6555 30.94 15.6094 30.5449 16.3126 29.8416C17.0159 29.1384 17.411 28.1846 17.411 27.19H9.91099C9.91099 28.1846 10.3061 29.1384 11.0093 29.8416C11.7126 30.5449 12.6664 30.94 13.661 30.94ZM13.661 4.54L12.167 4.84C10.4718 5.18482 8.94802 6.105 7.85365 7.44468C6.75927 8.78435 6.16164 10.4611 6.16199 12.191C6.07906 14.5502 5.79097 16.8977 5.30099 19.207C5.01617 20.6532 4.60012 22.0704 4.05799 23.441H23.265C22.7235 22.0702 22.3074 20.653 22.022 19.207C21.532 16.8977 21.2439 14.5502 21.161 12.191C21.1611 10.4613 20.5634 8.78476 19.469 7.44529C18.3747 6.10582 16.851 5.18578 15.156 4.841L13.662 4.535L13.661 4.54ZM25.323 23.44C25.6443 24.1784 26.1472 24.8234 26.785 25.315H0.536987C1.17474 24.8234 1.67769 24.1784 1.99899 23.44C3.68599 20.065 4.28599 13.84 4.28599 12.191C4.28619 10.0284 5.0338 7.93234 6.40223 6.25776C7.77065 4.58317 9.67578 3.433 11.795 3.002C11.7686 2.7412 11.7973 2.47777 11.879 2.22872C11.9608 1.97967 12.0938 1.75052 12.2696 1.55608C12.4454 1.36163 12.66 1.20621 12.8996 1.09983C13.1391 0.993454 13.3984 0.938492 13.6605 0.938492C13.9226 0.938492 14.1818 0.993454 14.4214 1.09983C14.661 1.20621 14.8756 1.36163 15.0514 1.55608C15.2272 1.75052 15.3602 1.97967 15.442 2.22872C15.5237 2.47777 15.5523 2.7412 15.526 3.002C17.6457 3.43262 19.5515 4.58277 20.9203 6.2576C22.2891 7.93243 23.0369 10.029 23.037 12.192C23.037 13.841 23.637 20.065 25.323 23.44Z", fill: color }));
|
|
5
|
+
};
|
|
6
|
+
var notificationIcon_default = NotificationIcon;
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
notificationIcon_default
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// lib/Buttons/cancelButton.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
var CancelButton = ({ children, ...props }) => /* @__PURE__ */ React.createElement("button", { className: "cancel-btn", ...props }, children);
|
|
4
|
+
var cancelButton_default = CancelButton;
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
cancelButton_default
|
|
8
|
+
};
|
|
@@ -34,58 +34,6 @@ __export(helpOutlinedIcon_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(helpOutlinedIcon_exports);
|
|
35
35
|
var import_react = __toESM(require("react"), 1);
|
|
36
36
|
var HelpOutlinedIcon = ({ color = "#5f6368", ...props }) => {
|
|
37
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
38
|
-
"svg",
|
|
39
|
-
{
|
|
40
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
-
width: "40",
|
|
42
|
-
height: "40",
|
|
43
|
-
viewBox: "0 0 40 40",
|
|
44
|
-
...props
|
|
45
|
-
},
|
|
46
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
47
|
-
"g",
|
|
48
|
-
{
|
|
49
|
-
id: "Group_11727",
|
|
50
|
-
"data-name": "Group 11727",
|
|
51
|
-
transform: "translate(-1600 -24)"
|
|
52
|
-
},
|
|
53
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
54
|
-
"circle",
|
|
55
|
-
{
|
|
56
|
-
id: "Ellipse_32",
|
|
57
|
-
"data-name": "Ellipse 32",
|
|
58
|
-
cx: "20",
|
|
59
|
-
cy: "20",
|
|
60
|
-
r: "20",
|
|
61
|
-
transform: "translate(1600 24)",
|
|
62
|
-
fill: "none"
|
|
63
|
-
}
|
|
64
|
-
),
|
|
65
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
66
|
-
"g",
|
|
67
|
-
{
|
|
68
|
-
id: "Ellipse_33",
|
|
69
|
-
"data-name": "Ellipse 33",
|
|
70
|
-
transform: "translate(1604 28.3)",
|
|
71
|
-
fill: "none",
|
|
72
|
-
stroke: color,
|
|
73
|
-
"stroke-width": "2"
|
|
74
|
-
},
|
|
75
|
-
/* @__PURE__ */ import_react.default.createElement("circle", { cx: "16", cy: "16", r: "16", stroke: "none" }),
|
|
76
|
-
/* @__PURE__ */ import_react.default.createElement("circle", { cx: "16", cy: "16", r: "15", fill: "none" })
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
79
|
-
"path",
|
|
80
|
-
{
|
|
81
|
-
id: "Icon_open-question-mark",
|
|
82
|
-
"data-name": "Icon open-question-mark",
|
|
83
|
-
d: "M5.372,0A5.621,5.621,0,0,0,1.283,1.436,4.746,4.746,0,0,0,0,4.22L2.175,4.5A2.636,2.636,0,0,1,2.849,3a3.23,3.23,0,0,1,2.523-.827,3.838,3.838,0,0,1,2.654.74A1.818,1.818,0,0,1,8.635,4.35c0,1.805-.74,2.306-1.827,3.263a6.2,6.2,0,0,0-2.523,4.894v.544H6.46v-.544c0-1.805.674-2.306,1.762-3.263A6.237,6.237,0,0,0,10.81,4.35,4.178,4.178,0,0,0,9.527,1.283,6.012,6.012,0,0,0,5.372,0ZM4.285,15.225V17.4H6.46V15.225Z",
|
|
84
|
-
transform: "translate(1614.595 35.6)",
|
|
85
|
-
fill: color
|
|
86
|
-
}
|
|
87
|
-
)
|
|
88
|
-
)
|
|
89
|
-
);
|
|
37
|
+
return /* @__PURE__ */ import_react.default.createElement("svg", { width: "32", height: "33", viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M16 31.3C24.2843 31.3 31 24.5843 31 16.3C31 8.01573 24.2843 1.3 16 1.3C7.71573 1.3 1 8.01573 1 16.3C1 24.5843 7.71573 31.3 16 31.3Z", stroke: color, "stroke-width": "2" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M15.967 7.6C15.2243 7.55686 14.4804 7.66158 13.7785 7.90808C13.0766 8.15458 12.4306 8.53796 11.878 9.036C11.1541 9.79654 10.7029 10.7756 10.595 11.82L12.77 12.1C12.8289 11.5409 13.0651 11.0153 13.444 10.6C13.7819 10.2913 14.1816 10.0579 14.6166 9.91528C15.0515 9.7727 15.5118 9.72421 15.967 9.773C16.9127 9.68268 17.8584 9.94635 18.621 10.513C18.8228 10.6923 18.9822 10.9143 19.0875 11.1628C19.1929 11.4114 19.2415 11.6803 19.23 11.95C19.23 13.755 18.49 14.256 17.403 15.213C16.6339 15.7793 16.006 16.5156 15.5684 17.3646C15.1308 18.2135 14.8951 19.152 14.88 20.107V20.651H17.055V20.107C17.055 18.302 17.729 17.801 18.817 16.844C19.596 16.2825 20.2348 15.5488 20.6837 14.6999C21.1326 13.851 21.3795 12.9099 21.405 11.95C21.4124 11.3782 21.3024 10.8109 21.0817 10.2834C20.861 9.75584 20.5343 9.2792 20.122 8.883C18.9456 7.95187 17.4635 7.49424 15.967 7.6ZM14.88 22.825V25H17.055V22.825H14.88Z", fill: color }));
|
|
90
38
|
};
|
|
91
39
|
var helpOutlinedIcon_default = HelpOutlinedIcon;
|