@rufous/ui 0.1.15 → 0.1.17

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,10 @@
1
+ // lib/icons/notificationIcon.tsx
2
+ import React from "react";
3
+ var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
4
+ return /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_26345", "data-name": "Group 26345", transform: "translate(-1600 -24)" }, /* @__PURE__ */ React.createElement("circle", { id: "Ellipse_32", "data-name": "Ellipse 32", cx: "20", cy: "20", r: "20", transform: "translate(1600 24)", fill: "none" }), /* @__PURE__ */ React.createElement("g", { id: "bell", transform: "translate(1594.537 28.951)" }, /* @__PURE__ */ React.createElement("g", { id: "Group_26115", "data-name": "Group 26115", transform: "translate(12 -0.011)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_60748", "data-name": "Path 60748", d: "M25.124,29.989a3.75,3.75,0,0,0,3.75-3.75h-7.5A3.75,3.75,0,0,0,25.124,29.989Zm0-26.4-1.494.3a7.5,7.5,0,0,0-6.005,7.351,40.688,40.688,0,0,1-.861,7.016,24.253,24.253,0,0,1-1.243,4.234H34.728a24.369,24.369,0,0,1-1.243-4.234,40.687,40.687,0,0,1-.861-7.016,7.5,7.5,0,0,0-6.005-7.35l-1.494-.306Zm11.662,18.9a4.771,4.771,0,0,0,1.462,1.875H12a4.771,4.771,0,0,0,1.462-1.875c1.687-3.375,2.287-9.6,2.287-11.249a9.378,9.378,0,0,1,7.509-9.189,1.875,1.875,0,1,1,3.731,0A9.378,9.378,0,0,1,34.5,11.241C34.5,12.89,35.1,19.115,36.786,22.49Z", transform: "translate(-12 0.011)", fill: color })))));
5
+ };
6
+ var notificationIcon_default = NotificationIcon;
7
+
8
+ export {
9
+ notificationIcon_default
10
+ };
@@ -0,0 +1,10 @@
1
+ // lib/icons/refreshIcon.tsx
2
+ import React from "react";
3
+ var RefreshIcon = ({ color = "#3a3a3a", ...props }) => {
4
+ return /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", id: "Component_6_6", "data-name": "Component 6 \u2013 6", width: "38", height: "38", viewBox: "0 0 38 38", ...props }, /* @__PURE__ */ React.createElement("circle", { id: "Ellipse_39", "data-name": "Ellipse 39", cx: "19", cy: "19", r: "19", fill: "none" }), /* @__PURE__ */ React.createElement("path", { id: "Union_19", "data-name": "Union 19", d: "M9.068,21.865a12.147,12.147,0,0,1-1.469-1.2L6.382,22.471a.934.934,0,0,1-1.658-.217L2.874,16.908a.936.936,0,0,1,.836-1.242l5.64-.283a.936.936,0,0,1,.822,1.459L8.666,19.078A10.12,10.12,0,1,0,5.774,12c0,.291.013.587.038.877H3.937c-.021-.3-.032-.591-.032-.877A11.976,11.976,0,1,1,15.881,24,11.878,11.878,0,0,1,9.068,21.865Z", transform: "translate(3.661 7)", fill: color }));
5
+ };
6
+ var refreshIcon_default = RefreshIcon;
7
+
8
+ export {
9
+ refreshIcon_default
10
+ };
@@ -55,6 +55,7 @@ __export(icons_exports, {
55
55
  QuestionTypeDescriptiveIcon: () => questionTypeDescriptiveIcon_default,
56
56
  QuestionTypeMultipleIcon: () => questionTypeMultipleIcon_default,
57
57
  QuestionTypeSingleIcon: () => questionTypeSingleIcon_default,
58
+ RefreshIcon: () => refreshIcon_default,
58
59
  ResendInviteIcon: () => resendInviteIcon_default,
59
60
  RufousBirdIcon: () => rufousBirdIcon_default,
60
61
  RufousLauncherIcon: () => rufousLauncherBird_default,
@@ -1046,9 +1047,16 @@ var sidebarIcon_default = SidebarIcon;
1046
1047
  // lib/icons/notificationIcon.tsx
1047
1048
  var import_react11 = __toESM(require("react"), 1);
1048
1049
  var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
1049
- return /* @__PURE__ */ import_react11.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28.86", height: "23.799", viewBox: "0 0 28.86 23.799", ...props }, /* @__PURE__ */ import_react11.default.createElement("g", { id: "Group_24743", "data-name": "Group 24743", transform: "translate(-1771.07 -708.433)" }, /* @__PURE__ */ import_react11.default.createElement("g", { id: "Icon_feather-bell", "data-name": "Icon feather-bell", transform: "translate(1771.698 708)" }, /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52630", "data-name": "Path 52630", d: "M19.752,9.413A6.262,6.262,0,0,0,13.651,3a6.262,6.262,0,0,0-6.1,6.413c0,7.481-3.05,9.619-3.05,9.619H22.8s-3.05-2.138-3.05-9.619", transform: "translate(0 -1.667)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" }), /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52631", "data-name": "Path 52631", d: "M19.538,31.5a2.389,2.389,0,0,1-4.133,0", transform: "translate(-3.82 -9.358)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" })), /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52635", "data-name": "Path 52635", d: "M12.686,38.331a.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,6.672,6.672,0,0,1,0-9.423.57.57,0,0,0-.805-.805,7.811,7.811,0,0,0,0,11.034A.555.555,0,0,0,12.686,38.331Z", transform: "translate(1761.218 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52636", "data-name": "Path 52636", d: "M18.816,39.021a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,3.537,3.537,0,0,1,0-5,.57.57,0,1,0-.805-.805A4.677,4.677,0,0,0,18.816,39.021Z", transform: "translate(1756.896 681.605)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52637", "data-name": "Path 52637", d: "M82.409,37.357a.57.57,0,0,0,0,.805.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,7.811,7.811,0,0,0,0-11.034.57.57,0,0,0-.805.805A6.672,6.672,0,0,1,82.409,37.357Z", transform: "translate(1714.284 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_52638", "data-name": "Path 52638", d: "M77.139,39.015a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,4.682,4.682,0,0,0,0-6.616.57.57,0,0,0-.805.805,3.537,3.537,0,0,1,0,5A.575.575,0,0,0,77.139,39.015Z", transform: "translate(1717.343 681.61)", fill: color, stroke: color, "stroke-width": "0.3" })));
1050
+ return /* @__PURE__ */ import_react11.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", ...props }, /* @__PURE__ */ import_react11.default.createElement("g", { id: "Group_26345", "data-name": "Group 26345", transform: "translate(-1600 -24)" }, /* @__PURE__ */ import_react11.default.createElement("circle", { id: "Ellipse_32", "data-name": "Ellipse 32", cx: "20", cy: "20", r: "20", transform: "translate(1600 24)", fill: "none" }), /* @__PURE__ */ import_react11.default.createElement("g", { id: "bell", transform: "translate(1594.537 28.951)" }, /* @__PURE__ */ import_react11.default.createElement("g", { id: "Group_26115", "data-name": "Group 26115", transform: "translate(12 -0.011)" }, /* @__PURE__ */ import_react11.default.createElement("path", { id: "Path_60748", "data-name": "Path 60748", d: "M25.124,29.989a3.75,3.75,0,0,0,3.75-3.75h-7.5A3.75,3.75,0,0,0,25.124,29.989Zm0-26.4-1.494.3a7.5,7.5,0,0,0-6.005,7.351,40.688,40.688,0,0,1-.861,7.016,24.253,24.253,0,0,1-1.243,4.234H34.728a24.369,24.369,0,0,1-1.243-4.234,40.687,40.687,0,0,1-.861-7.016,7.5,7.5,0,0,0-6.005-7.35l-1.494-.306Zm11.662,18.9a4.771,4.771,0,0,0,1.462,1.875H12a4.771,4.771,0,0,0,1.462-1.875c1.687-3.375,2.287-9.6,2.287-11.249a9.378,9.378,0,0,1,7.509-9.189,1.875,1.875,0,1,1,3.731,0A9.378,9.378,0,0,1,34.5,11.241C34.5,12.89,35.1,19.115,36.786,22.49Z", transform: "translate(-12 0.011)", fill: color })))));
1050
1051
  };
1051
1052
  var notificationIcon_default = NotificationIcon;
1053
+
1054
+ // lib/icons/refreshIcon.tsx
1055
+ var import_react12 = __toESM(require("react"), 1);
1056
+ var RefreshIcon = ({ color = "#3a3a3a", ...props }) => {
1057
+ return /* @__PURE__ */ import_react12.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", id: "Component_6_6", "data-name": "Component 6 \u2013 6", width: "38", height: "38", viewBox: "0 0 38 38", ...props }, /* @__PURE__ */ import_react12.default.createElement("circle", { id: "Ellipse_39", "data-name": "Ellipse 39", cx: "19", cy: "19", r: "19", fill: "none" }), /* @__PURE__ */ import_react12.default.createElement("path", { id: "Union_19", "data-name": "Union 19", d: "M9.068,21.865a12.147,12.147,0,0,1-1.469-1.2L6.382,22.471a.934.934,0,0,1-1.658-.217L2.874,16.908a.936.936,0,0,1,.836-1.242l5.64-.283a.936.936,0,0,1,.822,1.459L8.666,19.078A10.12,10.12,0,1,0,5.774,12c0,.291.013.587.038.877H3.937c-.021-.3-.032-.591-.032-.877A11.976,11.976,0,1,1,15.881,24,11.878,11.878,0,0,1,9.068,21.865Z", transform: "translate(3.661 7)", fill: color }));
1058
+ };
1059
+ var refreshIcon_default = RefreshIcon;
1052
1060
  // Annotate the CommonJS export names for ESM import in node:
1053
1061
  0 && (module.exports = {
1054
1062
  ActivateUserIcon,
@@ -1077,6 +1085,7 @@ var notificationIcon_default = NotificationIcon;
1077
1085
  QuestionTypeDescriptiveIcon,
1078
1086
  QuestionTypeMultipleIcon,
1079
1087
  QuestionTypeSingleIcon,
1088
+ RefreshIcon,
1080
1089
  ResendInviteIcon,
1081
1090
  RufousBirdIcon,
1082
1091
  RufousLauncherIcon,
@@ -39,4 +39,5 @@ export { default as TrashIcon } from './trashIcon.cjs';
39
39
  export { default as EditChatIcon } from './editChatIcon.cjs';
40
40
  export { default as SidebarIcon } from './sidebarIcon.cjs';
41
41
  export { default as NotificationIcon } from './notificationIcon.cjs';
42
+ export { default as RefreshIcon } from './refreshIcon.cjs';
42
43
  import 'react';
@@ -39,4 +39,5 @@ export { default as TrashIcon } from './trashIcon.js';
39
39
  export { default as EditChatIcon } from './editChatIcon.js';
40
40
  export { default as SidebarIcon } from './sidebarIcon.js';
41
41
  export { default as NotificationIcon } from './notificationIcon.js';
42
+ export { default as RefreshIcon } from './refreshIcon.js';
42
43
  import 'react';
@@ -1,4 +1,7 @@
1
- import "../chunk-WJS22H3F.js";
1
+ import "../chunk-WNXUY4B6.js";
2
+ import {
3
+ uploadIcon_default
4
+ } from "../chunk-DXJ745NZ.js";
2
5
  import {
3
6
  userAssignIcon_default
4
7
  } from "../chunk-BH53P2UM.js";
@@ -8,6 +11,9 @@ import {
8
11
  import {
9
12
  workItemIcon_default
10
13
  } from "../chunk-QJPQC544.js";
14
+ import {
15
+ sidebarIcon_default
16
+ } from "../chunk-CSKTBLQQ.js";
11
17
  import {
12
18
  subscribeIcon_default
13
19
  } from "../chunk-ZDVP4SUD.js";
@@ -29,9 +35,6 @@ import {
29
35
  import {
30
36
  unsubscribeIcon_default
31
37
  } from "../chunk-NMMC4ATV.js";
32
- import {
33
- uploadIcon_default
34
- } from "../chunk-DXJ745NZ.js";
35
38
  import {
36
39
  questionTypeCodingIcon_default
37
40
  } from "../chunk-FOUXNPQA.js";
@@ -44,6 +47,9 @@ import {
44
47
  import {
45
48
  questionTypeSingleIcon_default
46
49
  } from "../chunk-ZJYLZ6I6.js";
50
+ import {
51
+ refreshIcon_default
52
+ } from "../chunk-RNA4TTYR.js";
47
53
  import {
48
54
  resendInviteIcon_default
49
55
  } from "../chunk-WG3Q6GZN.js";
@@ -53,9 +59,6 @@ import {
53
59
  import {
54
60
  rufousLauncherBird_default
55
61
  } from "../chunk-QZFGQ5JM.js";
56
- import {
57
- sidebarIcon_default
58
- } from "../chunk-CSKTBLQQ.js";
59
62
  import {
60
63
  invoiceIcon_default
61
64
  } from "../chunk-KYJ3475B.js";
@@ -67,7 +70,7 @@ import {
67
70
  } from "../chunk-D7SFBVJY.js";
68
71
  import {
69
72
  notificationIcon_default
70
- } from "../chunk-HJEXCVPX.js";
73
+ } from "../chunk-MWCKUVQG.js";
71
74
  import {
72
75
  questionStatusAllIcon_default
73
76
  } from "../chunk-GYLL3HRD.js";
@@ -149,6 +152,7 @@ export {
149
152
  questionTypeDescriptiveIcon_default as QuestionTypeDescriptiveIcon,
150
153
  questionTypeMultipleIcon_default as QuestionTypeMultipleIcon,
151
154
  questionTypeSingleIcon_default as QuestionTypeSingleIcon,
155
+ refreshIcon_default as RefreshIcon,
152
156
  resendInviteIcon_default as ResendInviteIcon,
153
157
  rufousBirdIcon_default as RufousBirdIcon,
154
158
  rufousLauncherBird_default as RufousLauncherIcon,
@@ -34,6 +34,6 @@ __export(notificationIcon_exports, {
34
34
  module.exports = __toCommonJS(notificationIcon_exports);
35
35
  var import_react = __toESM(require("react"), 1);
36
36
  var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
37
- return /* @__PURE__ */ import_react.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28.86", height: "23.799", viewBox: "0 0 28.86 23.799", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { id: "Group_24743", "data-name": "Group 24743", transform: "translate(-1771.07 -708.433)" }, /* @__PURE__ */ import_react.default.createElement("g", { id: "Icon_feather-bell", "data-name": "Icon feather-bell", transform: "translate(1771.698 708)" }, /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52630", "data-name": "Path 52630", d: "M19.752,9.413A6.262,6.262,0,0,0,13.651,3a6.262,6.262,0,0,0-6.1,6.413c0,7.481-3.05,9.619-3.05,9.619H22.8s-3.05-2.138-3.05-9.619", transform: "translate(0 -1.667)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" }), /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52631", "data-name": "Path 52631", d: "M19.538,31.5a2.389,2.389,0,0,1-4.133,0", transform: "translate(-3.82 -9.358)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" })), /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52635", "data-name": "Path 52635", d: "M12.686,38.331a.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,6.672,6.672,0,0,1,0-9.423.57.57,0,0,0-.805-.805,7.811,7.811,0,0,0,0,11.034A.555.555,0,0,0,12.686,38.331Z", transform: "translate(1761.218 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52636", "data-name": "Path 52636", d: "M18.816,39.021a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,3.537,3.537,0,0,1,0-5,.57.57,0,1,0-.805-.805A4.677,4.677,0,0,0,18.816,39.021Z", transform: "translate(1756.896 681.605)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52637", "data-name": "Path 52637", d: "M82.409,37.357a.57.57,0,0,0,0,.805.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,7.811,7.811,0,0,0,0-11.034.57.57,0,0,0-.805.805A6.672,6.672,0,0,1,82.409,37.357Z", transform: "translate(1714.284 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_52638", "data-name": "Path 52638", d: "M77.139,39.015a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,4.682,4.682,0,0,0,0-6.616.57.57,0,0,0-.805.805,3.537,3.537,0,0,1,0,5A.575.575,0,0,0,77.139,39.015Z", transform: "translate(1717.343 681.61)", fill: color, stroke: color, "stroke-width": "0.3" })));
37
+ return /* @__PURE__ */ import_react.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { id: "Group_26345", "data-name": "Group 26345", transform: "translate(-1600 -24)" }, /* @__PURE__ */ import_react.default.createElement("circle", { id: "Ellipse_32", "data-name": "Ellipse 32", cx: "20", cy: "20", r: "20", transform: "translate(1600 24)", fill: "none" }), /* @__PURE__ */ import_react.default.createElement("g", { id: "bell", transform: "translate(1594.537 28.951)" }, /* @__PURE__ */ import_react.default.createElement("g", { id: "Group_26115", "data-name": "Group 26115", transform: "translate(12 -0.011)" }, /* @__PURE__ */ import_react.default.createElement("path", { id: "Path_60748", "data-name": "Path 60748", d: "M25.124,29.989a3.75,3.75,0,0,0,3.75-3.75h-7.5A3.75,3.75,0,0,0,25.124,29.989Zm0-26.4-1.494.3a7.5,7.5,0,0,0-6.005,7.351,40.688,40.688,0,0,1-.861,7.016,24.253,24.253,0,0,1-1.243,4.234H34.728a24.369,24.369,0,0,1-1.243-4.234,40.687,40.687,0,0,1-.861-7.016,7.5,7.5,0,0,0-6.005-7.35l-1.494-.306Zm11.662,18.9a4.771,4.771,0,0,0,1.462,1.875H12a4.771,4.771,0,0,0,1.462-1.875c1.687-3.375,2.287-9.6,2.287-11.249a9.378,9.378,0,0,1,7.509-9.189,1.875,1.875,0,1,1,3.731,0A9.378,9.378,0,0,1,34.5,11.241C34.5,12.89,35.1,19.115,36.786,22.49Z", transform: "translate(-12 0.011)", fill: color })))));
38
38
  };
39
39
  var notificationIcon_default = NotificationIcon;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  notificationIcon_default
3
- } from "../chunk-HJEXCVPX.js";
3
+ } from "../chunk-MWCKUVQG.js";
4
4
  export {
5
5
  notificationIcon_default as default
6
6
  };
@@ -0,0 +1,39 @@
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/icons/refreshIcon.tsx
30
+ var refreshIcon_exports = {};
31
+ __export(refreshIcon_exports, {
32
+ default: () => refreshIcon_default
33
+ });
34
+ module.exports = __toCommonJS(refreshIcon_exports);
35
+ var import_react = __toESM(require("react"), 1);
36
+ var RefreshIcon = ({ color = "#3a3a3a", ...props }) => {
37
+ return /* @__PURE__ */ import_react.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", id: "Component_6_6", "data-name": "Component 6 \u2013 6", width: "38", height: "38", viewBox: "0 0 38 38", ...props }, /* @__PURE__ */ import_react.default.createElement("circle", { id: "Ellipse_39", "data-name": "Ellipse 39", cx: "19", cy: "19", r: "19", fill: "none" }), /* @__PURE__ */ import_react.default.createElement("path", { id: "Union_19", "data-name": "Union 19", d: "M9.068,21.865a12.147,12.147,0,0,1-1.469-1.2L6.382,22.471a.934.934,0,0,1-1.658-.217L2.874,16.908a.936.936,0,0,1,.836-1.242l5.64-.283a.936.936,0,0,1,.822,1.459L8.666,19.078A10.12,10.12,0,1,0,5.774,12c0,.291.013.587.038.877H3.937c-.021-.3-.032-.591-.032-.877A11.976,11.976,0,1,1,15.881,24,11.878,11.878,0,0,1,9.068,21.865Z", transform: "translate(3.661 7)", fill: color }));
38
+ };
39
+ var refreshIcon_default = RefreshIcon;
@@ -0,0 +1,8 @@
1
+ import React__default from 'react';
2
+
3
+ interface RefreshIconProps extends React__default.SVGProps<SVGSVGElement> {
4
+ color?: string;
5
+ }
6
+ declare const RefreshIcon: React__default.FC<RefreshIconProps>;
7
+
8
+ export { type RefreshIconProps, RefreshIcon as default };
@@ -0,0 +1,8 @@
1
+ import React__default from 'react';
2
+
3
+ interface RefreshIconProps extends React__default.SVGProps<SVGSVGElement> {
4
+ color?: string;
5
+ }
6
+ declare const RefreshIcon: React__default.FC<RefreshIconProps>;
7
+
8
+ export { type RefreshIconProps, RefreshIcon as default };
@@ -0,0 +1,6 @@
1
+ import {
2
+ refreshIcon_default
3
+ } from "../chunk-RNA4TTYR.js";
4
+ export {
5
+ refreshIcon_default as default
6
+ };
package/dist/main.cjs CHANGED
@@ -59,6 +59,7 @@ __export(main_exports, {
59
59
  QuestionTypeDescriptiveIcon: () => questionTypeDescriptiveIcon_default,
60
60
  QuestionTypeMultipleIcon: () => questionTypeMultipleIcon_default,
61
61
  QuestionTypeSingleIcon: () => questionTypeSingleIcon_default,
62
+ RefreshIcon: () => refreshIcon_default,
62
63
  ResendInviteIcon: () => resendInviteIcon_default,
63
64
  RufousBirdIcon: () => rufousBirdIcon_default,
64
65
  RufousLauncherIcon: () => rufousLauncherBird_default,
@@ -1193,17 +1194,24 @@ var sidebarIcon_default = SidebarIcon;
1193
1194
  // lib/icons/notificationIcon.tsx
1194
1195
  var import_react14 = __toESM(require("react"), 1);
1195
1196
  var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
1196
- return /* @__PURE__ */ import_react14.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28.86", height: "23.799", viewBox: "0 0 28.86 23.799", ...props }, /* @__PURE__ */ import_react14.default.createElement("g", { id: "Group_24743", "data-name": "Group 24743", transform: "translate(-1771.07 -708.433)" }, /* @__PURE__ */ import_react14.default.createElement("g", { id: "Icon_feather-bell", "data-name": "Icon feather-bell", transform: "translate(1771.698 708)" }, /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52630", "data-name": "Path 52630", d: "M19.752,9.413A6.262,6.262,0,0,0,13.651,3a6.262,6.262,0,0,0-6.1,6.413c0,7.481-3.05,9.619-3.05,9.619H22.8s-3.05-2.138-3.05-9.619", transform: "translate(0 -1.667)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" }), /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52631", "data-name": "Path 52631", d: "M19.538,31.5a2.389,2.389,0,0,1-4.133,0", transform: "translate(-3.82 -9.358)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" })), /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52635", "data-name": "Path 52635", d: "M12.686,38.331a.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,6.672,6.672,0,0,1,0-9.423.57.57,0,0,0-.805-.805,7.811,7.811,0,0,0,0,11.034A.555.555,0,0,0,12.686,38.331Z", transform: "translate(1761.218 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52636", "data-name": "Path 52636", d: "M18.816,39.021a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,3.537,3.537,0,0,1,0-5,.57.57,0,1,0-.805-.805A4.677,4.677,0,0,0,18.816,39.021Z", transform: "translate(1756.896 681.605)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52637", "data-name": "Path 52637", d: "M82.409,37.357a.57.57,0,0,0,0,.805.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,7.811,7.811,0,0,0,0-11.034.57.57,0,0,0-.805.805A6.672,6.672,0,0,1,82.409,37.357Z", transform: "translate(1714.284 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_52638", "data-name": "Path 52638", d: "M77.139,39.015a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,4.682,4.682,0,0,0,0-6.616.57.57,0,0,0-.805.805,3.537,3.537,0,0,1,0,5A.575.575,0,0,0,77.139,39.015Z", transform: "translate(1717.343 681.61)", fill: color, stroke: color, "stroke-width": "0.3" })));
1197
+ return /* @__PURE__ */ import_react14.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 40 40", ...props }, /* @__PURE__ */ import_react14.default.createElement("g", { id: "Group_26345", "data-name": "Group 26345", transform: "translate(-1600 -24)" }, /* @__PURE__ */ import_react14.default.createElement("circle", { id: "Ellipse_32", "data-name": "Ellipse 32", cx: "20", cy: "20", r: "20", transform: "translate(1600 24)", fill: "none" }), /* @__PURE__ */ import_react14.default.createElement("g", { id: "bell", transform: "translate(1594.537 28.951)" }, /* @__PURE__ */ import_react14.default.createElement("g", { id: "Group_26115", "data-name": "Group 26115", transform: "translate(12 -0.011)" }, /* @__PURE__ */ import_react14.default.createElement("path", { id: "Path_60748", "data-name": "Path 60748", d: "M25.124,29.989a3.75,3.75,0,0,0,3.75-3.75h-7.5A3.75,3.75,0,0,0,25.124,29.989Zm0-26.4-1.494.3a7.5,7.5,0,0,0-6.005,7.351,40.688,40.688,0,0,1-.861,7.016,24.253,24.253,0,0,1-1.243,4.234H34.728a24.369,24.369,0,0,1-1.243-4.234,40.687,40.687,0,0,1-.861-7.016,7.5,7.5,0,0,0-6.005-7.35l-1.494-.306Zm11.662,18.9a4.771,4.771,0,0,0,1.462,1.875H12a4.771,4.771,0,0,0,1.462-1.875c1.687-3.375,2.287-9.6,2.287-11.249a9.378,9.378,0,0,1,7.509-9.189,1.875,1.875,0,1,1,3.731,0A9.378,9.378,0,0,1,34.5,11.241C34.5,12.89,35.1,19.115,36.786,22.49Z", transform: "translate(-12 0.011)", fill: color })))));
1197
1198
  };
1198
1199
  var notificationIcon_default = NotificationIcon;
1199
1200
 
1200
- // lib/Contexts/rufousThemeProvider.tsx
1201
+ // lib/icons/refreshIcon.tsx
1201
1202
  var import_react15 = __toESM(require("react"), 1);
1202
- var RufousThemeContext = (0, import_react15.createContext)(null);
1203
+ var RefreshIcon = ({ color = "#3a3a3a", ...props }) => {
1204
+ return /* @__PURE__ */ import_react15.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", id: "Component_6_6", "data-name": "Component 6 \u2013 6", width: "38", height: "38", viewBox: "0 0 38 38", ...props }, /* @__PURE__ */ import_react15.default.createElement("circle", { id: "Ellipse_39", "data-name": "Ellipse 39", cx: "19", cy: "19", r: "19", fill: "none" }), /* @__PURE__ */ import_react15.default.createElement("path", { id: "Union_19", "data-name": "Union 19", d: "M9.068,21.865a12.147,12.147,0,0,1-1.469-1.2L6.382,22.471a.934.934,0,0,1-1.658-.217L2.874,16.908a.936.936,0,0,1,.836-1.242l5.64-.283a.936.936,0,0,1,.822,1.459L8.666,19.078A10.12,10.12,0,1,0,5.774,12c0,.291.013.587.038.877H3.937c-.021-.3-.032-.591-.032-.877A11.976,11.976,0,1,1,15.881,24,11.878,11.878,0,0,1,9.068,21.865Z", transform: "translate(3.661 7)", fill: color }));
1205
+ };
1206
+ var refreshIcon_default = RefreshIcon;
1207
+
1208
+ // lib/Contexts/rufousThemeProvider.tsx
1209
+ var import_react16 = __toESM(require("react"), 1);
1210
+ var RufousThemeContext = (0, import_react16.createContext)(null);
1203
1211
  var RufousThemeProvider = ({ children }) => {
1204
- const [committedThemeKey, setCommittedThemeKey] = (0, import_react15.useState)("default");
1205
- const [previewThemeKey, setPreviewThemeKey] = (0, import_react15.useState)("default");
1206
- const [settings, setSettings] = (0, import_react15.useState)(null);
1212
+ const [committedThemeKey, setCommittedThemeKey] = (0, import_react16.useState)("default");
1213
+ const [previewThemeKey, setPreviewThemeKey] = (0, import_react16.useState)("default");
1214
+ const [settings, setSettings] = (0, import_react16.useState)(null);
1207
1215
  const getGeneralSettings = async () => {
1208
1216
  try {
1209
1217
  const theme = localStorage.getItem("theme") || "default";
@@ -1213,10 +1221,10 @@ var RufousThemeProvider = ({ children }) => {
1213
1221
  console.error("Error fetching general settings:", err);
1214
1222
  }
1215
1223
  };
1216
- (0, import_react15.useEffect)(() => {
1224
+ (0, import_react16.useEffect)(() => {
1217
1225
  getGeneralSettings();
1218
1226
  }, []);
1219
- const fullTheme = (0, import_react15.useMemo)(() => {
1227
+ const fullTheme = (0, import_react16.useMemo)(() => {
1220
1228
  return {
1221
1229
  themeKey: previewThemeKey || settings.theme,
1222
1230
  customStyles: APP_THEMES[previewThemeKey || settings.theme]
@@ -1229,7 +1237,7 @@ var RufousThemeProvider = ({ children }) => {
1229
1237
  setCommittedThemeKey(key);
1230
1238
  };
1231
1239
  const cancelTheme = () => setPreviewThemeKey(committedThemeKey);
1232
- return /* @__PURE__ */ import_react15.default.createElement(
1240
+ return /* @__PURE__ */ import_react16.default.createElement(
1233
1241
  RufousThemeContext.Provider,
1234
1242
  {
1235
1243
  value: {
@@ -1243,7 +1251,7 @@ var RufousThemeProvider = ({ children }) => {
1243
1251
  updateSettings: (v) => setSettings(v)
1244
1252
  }
1245
1253
  },
1246
- /* @__PURE__ */ import_react15.default.createElement(
1254
+ /* @__PURE__ */ import_react16.default.createElement(
1247
1255
  "div",
1248
1256
  {
1249
1257
  className: `theme-${previewThemeKey || committedThemeKey || "default"}`
@@ -1252,7 +1260,7 @@ var RufousThemeProvider = ({ children }) => {
1252
1260
  )
1253
1261
  );
1254
1262
  };
1255
- var useRufousTheme = () => (0, import_react15.useContext)(RufousThemeContext);
1263
+ var useRufousTheme = () => (0, import_react16.useContext)(RufousThemeContext);
1256
1264
  // Annotate the CommonJS export names for ESM import in node:
1257
1265
  0 && (module.exports = {
1258
1266
  APP_THEMES,
@@ -1285,6 +1293,7 @@ var useRufousTheme = () => (0, import_react15.useContext)(RufousThemeContext);
1285
1293
  QuestionTypeDescriptiveIcon,
1286
1294
  QuestionTypeMultipleIcon,
1287
1295
  QuestionTypeSingleIcon,
1296
+ RefreshIcon,
1288
1297
  ResendInviteIcon,
1289
1298
  RufousBirdIcon,
1290
1299
  RufousLauncherIcon,
package/dist/main.d.cts CHANGED
@@ -43,5 +43,6 @@ export { default as TrashIcon } from './icons/trashIcon.cjs';
43
43
  export { default as EditChatIcon } from './icons/editChatIcon.cjs';
44
44
  export { default as SidebarIcon } from './icons/sidebarIcon.cjs';
45
45
  export { default as NotificationIcon } from './icons/notificationIcon.cjs';
46
+ export { default as RefreshIcon } from './icons/refreshIcon.cjs';
46
47
  export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.cjs';
47
48
  import 'react';
package/dist/main.d.ts CHANGED
@@ -43,5 +43,6 @@ export { default as TrashIcon } from './icons/trashIcon.js';
43
43
  export { default as EditChatIcon } from './icons/editChatIcon.js';
44
44
  export { default as SidebarIcon } from './icons/sidebarIcon.js';
45
45
  export { default as NotificationIcon } from './icons/notificationIcon.js';
46
+ export { default as RefreshIcon } from './icons/refreshIcon.js';
46
47
  export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.js';
47
48
  import 'react';
package/dist/main.js CHANGED
@@ -1,4 +1,7 @@
1
- import "./chunk-WJS22H3F.js";
1
+ import "./chunk-WNXUY4B6.js";
2
+ import {
3
+ uploadIcon_default
4
+ } from "./chunk-DXJ745NZ.js";
2
5
  import {
3
6
  userAssignIcon_default
4
7
  } from "./chunk-BH53P2UM.js";
@@ -8,6 +11,9 @@ import {
8
11
  import {
9
12
  workItemIcon_default
10
13
  } from "./chunk-QJPQC544.js";
14
+ import {
15
+ sidebarIcon_default
16
+ } from "./chunk-CSKTBLQQ.js";
11
17
  import {
12
18
  subscribeIcon_default
13
19
  } from "./chunk-ZDVP4SUD.js";
@@ -29,9 +35,6 @@ import {
29
35
  import {
30
36
  unsubscribeIcon_default
31
37
  } from "./chunk-NMMC4ATV.js";
32
- import {
33
- uploadIcon_default
34
- } from "./chunk-DXJ745NZ.js";
35
38
  import {
36
39
  questionTypeCodingIcon_default
37
40
  } from "./chunk-FOUXNPQA.js";
@@ -44,6 +47,9 @@ import {
44
47
  import {
45
48
  questionTypeSingleIcon_default
46
49
  } from "./chunk-ZJYLZ6I6.js";
50
+ import {
51
+ refreshIcon_default
52
+ } from "./chunk-RNA4TTYR.js";
47
53
  import {
48
54
  resendInviteIcon_default
49
55
  } from "./chunk-WG3Q6GZN.js";
@@ -53,9 +59,6 @@ import {
53
59
  import {
54
60
  rufousLauncherBird_default
55
61
  } from "./chunk-QZFGQ5JM.js";
56
- import {
57
- sidebarIcon_default
58
- } from "./chunk-CSKTBLQQ.js";
59
62
  import {
60
63
  invoiceIcon_default
61
64
  } from "./chunk-KYJ3475B.js";
@@ -67,7 +70,7 @@ import {
67
70
  } from "./chunk-D7SFBVJY.js";
68
71
  import {
69
72
  notificationIcon_default
70
- } from "./chunk-HJEXCVPX.js";
73
+ } from "./chunk-MWCKUVQG.js";
71
74
  import {
72
75
  questionStatusAllIcon_default
73
76
  } from "./chunk-GYLL3HRD.js";
@@ -169,6 +172,7 @@ export {
169
172
  questionTypeDescriptiveIcon_default as QuestionTypeDescriptiveIcon,
170
173
  questionTypeMultipleIcon_default as QuestionTypeMultipleIcon,
171
174
  questionTypeSingleIcon_default as QuestionTypeSingleIcon,
175
+ refreshIcon_default as RefreshIcon,
172
176
  resendInviteIcon_default as ResendInviteIcon,
173
177
  rufousBirdIcon_default as RufousBirdIcon,
174
178
  rufousLauncherBird_default as RufousLauncherIcon,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.1.15",
4
+ "version": "0.1.17",
5
5
  "type": "module",
6
6
  "style": "./dist/style.css",
7
7
  "files": [
@@ -1,10 +0,0 @@
1
- // lib/icons/notificationIcon.tsx
2
- import React from "react";
3
- var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
4
- return /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28.86", height: "23.799", viewBox: "0 0 28.86 23.799", ...props }, /* @__PURE__ */ React.createElement("g", { id: "Group_24743", "data-name": "Group 24743", transform: "translate(-1771.07 -708.433)" }, /* @__PURE__ */ React.createElement("g", { id: "Icon_feather-bell", "data-name": "Icon feather-bell", transform: "translate(1771.698 708)" }, /* @__PURE__ */ React.createElement("path", { id: "Path_52630", "data-name": "Path 52630", d: "M19.752,9.413A6.262,6.262,0,0,0,13.651,3a6.262,6.262,0,0,0-6.1,6.413c0,7.481-3.05,9.619-3.05,9.619H22.8s-3.05-2.138-3.05-9.619", transform: "translate(0 -1.667)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52631", "data-name": "Path 52631", d: "M19.538,31.5a2.389,2.389,0,0,1-4.133,0", transform: "translate(-3.82 -9.358)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.8" })), /* @__PURE__ */ React.createElement("path", { id: "Path_52635", "data-name": "Path 52635", d: "M12.686,38.331a.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,6.672,6.672,0,0,1,0-9.423.57.57,0,0,0-.805-.805,7.811,7.811,0,0,0,0,11.034A.555.555,0,0,0,12.686,38.331Z", transform: "translate(1761.218 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52636", "data-name": "Path 52636", d: "M18.816,39.021a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168.57.57,0,0,0,0-.805,3.537,3.537,0,0,1,0-5,.57.57,0,1,0-.805-.805A4.677,4.677,0,0,0,18.816,39.021Z", transform: "translate(1756.896 681.605)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52637", "data-name": "Path 52637", d: "M82.409,37.357a.57.57,0,0,0,0,.805.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,7.811,7.811,0,0,0,0-11.034.57.57,0,0,0-.805.805A6.672,6.672,0,0,1,82.409,37.357Z", transform: "translate(1714.284 684.669)", fill: color, stroke: color, "stroke-width": "0.3" }), /* @__PURE__ */ React.createElement("path", { id: "Path_52638", "data-name": "Path 52638", d: "M77.139,39.015a.562.562,0,0,0,.4.168.555.555,0,0,0,.4-.168,4.682,4.682,0,0,0,0-6.616.57.57,0,0,0-.805.805,3.537,3.537,0,0,1,0,5A.575.575,0,0,0,77.139,39.015Z", transform: "translate(1717.343 681.61)", fill: color, stroke: color, "stroke-width": "0.3" })));
5
- };
6
- var notificationIcon_default = NotificationIcon;
7
-
8
- export {
9
- notificationIcon_default
10
- };
File without changes