@rufous/ui 0.1.16 → 0.1.18
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/chunk-BYJP2WNC.js +18 -0
- package/dist/chunk-FSRABKKC.js +18 -0
- package/dist/chunk-GL43GPEM.js +18 -0
- package/dist/chunk-MKK7M3BH.js +18 -0
- package/dist/chunk-NSW6ZGZF.js +19 -0
- package/dist/chunk-RJ43D3XB.js +18 -0
- package/dist/chunk-RNA4TTYR.js +10 -0
- package/dist/chunk-ZAYWFYP4.js +18 -0
- package/dist/icons/dollarIcon.cjs +47 -0
- package/dist/icons/dollarIcon.d.cts +8 -0
- package/dist/icons/dollarIcon.d.ts +8 -0
- package/dist/icons/dollarIcon.js +6 -0
- package/dist/icons/engagementIcon.cjs +47 -0
- package/dist/icons/engagementIcon.d.cts +8 -0
- package/dist/icons/engagementIcon.d.ts +8 -0
- package/dist/icons/engagementIcon.js +6 -0
- package/dist/icons/functionIcon.cjs +47 -0
- package/dist/icons/functionIcon.d.cts +8 -0
- package/dist/icons/functionIcon.d.ts +8 -0
- package/dist/icons/functionIcon.js +6 -0
- package/dist/icons/index.cjs +129 -0
- package/dist/icons/index.d.cts +8 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.js +54 -22
- package/dist/icons/industryIcon.cjs +48 -0
- package/dist/icons/industryIcon.d.cts +8 -0
- package/dist/icons/industryIcon.d.ts +8 -0
- package/dist/icons/industryIcon.js +6 -0
- package/dist/icons/minExperienceIcon.cjs +47 -0
- package/dist/icons/minExperienceIcon.d.cts +8 -0
- package/dist/icons/minExperienceIcon.d.ts +8 -0
- package/dist/icons/minExperienceIcon.js +6 -0
- package/dist/icons/projectIcon.cjs +47 -0
- package/dist/icons/projectIcon.d.cts +8 -0
- package/dist/icons/projectIcon.d.ts +8 -0
- package/dist/icons/projectIcon.js +6 -0
- package/dist/icons/refreshIcon.cjs +39 -0
- package/dist/icons/refreshIcon.d.cts +8 -0
- package/dist/icons/refreshIcon.d.ts +8 -0
- package/dist/icons/refreshIcon.js +6 -0
- package/dist/icons/rolesIcon.cjs +47 -0
- package/dist/icons/rolesIcon.d.cts +8 -0
- package/dist/icons/rolesIcon.d.ts +8 -0
- package/dist/icons/rolesIcon.js +6 -0
- package/dist/main.cjs +139 -10
- package/dist/main.d.cts +8 -0
- package/dist/main.d.ts +8 -0
- package/dist/main.js +54 -22
- package/package.json +1 -1
- /package/dist/{chunk-WJS22H3F.js → chunk-CC7BNJL3.js} +0 -0
package/dist/main.cjs
CHANGED
|
@@ -40,17 +40,23 @@ __export(main_exports, {
|
|
|
40
40
|
DifficultyEasyIcon: () => difficultyEasyIcon_default,
|
|
41
41
|
DifficultyHardIcon: () => difficultyHardIcon_default,
|
|
42
42
|
DifficultyMediumIcon: () => difficultyMediumIcon_default,
|
|
43
|
+
DollarIcon: () => dollarIcon_default,
|
|
43
44
|
DownloadIcon: () => downloadIcon_default,
|
|
44
45
|
EditChatIcon: () => editChatIcon_default,
|
|
45
46
|
EditIcon: () => editIcon_default,
|
|
47
|
+
EngagementIcon: () => engagementIcon_default,
|
|
46
48
|
FloatingInput: () => FloatingInput,
|
|
49
|
+
FunctionIcon: () => functionIcon_default,
|
|
47
50
|
HelpOutlinedIcon: () => helpOutlinedIcon_default,
|
|
48
51
|
HierarchyIcon: () => hierarchyIcon_default,
|
|
49
52
|
InactiveGroupIcon: () => inactiveGroupIcon_default,
|
|
53
|
+
IndustryIcon: () => industryIcon_default,
|
|
50
54
|
InvoiceIcon: () => invoiceIcon_default,
|
|
51
55
|
LogsIcon: () => logsIcon_default,
|
|
56
|
+
MinExperienceIcon: () => minExperienceIcon_default,
|
|
52
57
|
NineDotMenuIcon: () => nineDotMenuIcon_default,
|
|
53
58
|
NotificationIcon: () => notificationIcon_default,
|
|
59
|
+
ProjectIcon: () => projectIcon_default,
|
|
54
60
|
QuestionStatusAllIcon: () => questionStatusAllIcon_default,
|
|
55
61
|
QuestionStatusPrivateIcon: () => questionStatusPrivateIcon_default,
|
|
56
62
|
QuestionStatusPublicIcon: () => questionStatusPublicIcon_default,
|
|
@@ -59,7 +65,9 @@ __export(main_exports, {
|
|
|
59
65
|
QuestionTypeDescriptiveIcon: () => questionTypeDescriptiveIcon_default,
|
|
60
66
|
QuestionTypeMultipleIcon: () => questionTypeMultipleIcon_default,
|
|
61
67
|
QuestionTypeSingleIcon: () => questionTypeSingleIcon_default,
|
|
68
|
+
RefreshIcon: () => refreshIcon_default,
|
|
62
69
|
ResendInviteIcon: () => resendInviteIcon_default,
|
|
70
|
+
RolesIcon: () => rolesIcon_default,
|
|
63
71
|
RufousBirdIcon: () => rufousBirdIcon_default,
|
|
64
72
|
RufousLauncherIcon: () => rufousLauncherBird_default,
|
|
65
73
|
RufousThemeProvider: () => RufousThemeProvider,
|
|
@@ -1197,13 +1205,126 @@ var NotificationIcon = ({ color = "#3a3a3a", ...props }) => {
|
|
|
1197
1205
|
};
|
|
1198
1206
|
var notificationIcon_default = NotificationIcon;
|
|
1199
1207
|
|
|
1200
|
-
// lib/
|
|
1208
|
+
// lib/icons/refreshIcon.tsx
|
|
1201
1209
|
var import_react15 = __toESM(require("react"), 1);
|
|
1202
|
-
var
|
|
1210
|
+
var RefreshIcon = ({ color = "#3a3a3a", ...props }) => {
|
|
1211
|
+
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 }));
|
|
1212
|
+
};
|
|
1213
|
+
var refreshIcon_default = RefreshIcon;
|
|
1214
|
+
|
|
1215
|
+
// lib/icons/dollarIcon.tsx
|
|
1216
|
+
var React46 = __toESM(require("react"), 1);
|
|
1217
|
+
var DollarIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React46.createElement(
|
|
1218
|
+
"svg",
|
|
1219
|
+
{
|
|
1220
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1221
|
+
width: "12.04",
|
|
1222
|
+
height: "20.85",
|
|
1223
|
+
viewBox: "0 0 12.04 20.85",
|
|
1224
|
+
...props
|
|
1225
|
+
},
|
|
1226
|
+
/* @__PURE__ */ React46.createElement("g", { id: "dollar-line", transform: "translate(-21.612 -5.34)" }, /* @__PURE__ */ React46.createElement("path", { id: "Path_60770", "data-name": "Path 60770", d: "M33.279,17.817a4.5,4.5,0,0,0-2.854-2.163,16.94,16.94,0,0,0-1.707-.417V9.328a6.548,6.548,0,0,1,3.167,1.225.653.653,0,1,0,.867-.977,7.656,7.656,0,0,0-4.033-1.564V5.992a.652.652,0,1,0-1.3,0V7.946c-2.867.065-4.45,1.492-4.932,2.724a3.623,3.623,0,0,0,1.453,4.444,8.6,8.6,0,0,0,3.479,1.2v5.968A8.014,8.014,0,0,1,22.762,20.5a.652.652,0,1,0-.893.938,9.181,9.181,0,0,0,5.545,2.15v1.955a.652.652,0,0,0,1.3,0V23.584c1.837-.124,3.955-.71,4.756-3.1A3.473,3.473,0,0,0,33.279,17.817Zm-8.607-3.8a2.326,2.326,0,0,1-.971-2.86c.072-.2.8-1.831,3.714-1.909v5.734a6.972,6.972,0,0,1-2.743-.964Zm7.565,6.02c-.469,1.394-1.512,2.065-3.518,2.215V16.566c.417.091.847.2,1.3.332A3.258,3.258,0,0,1,32.1,18.41a2.176,2.176,0,0,1,.137,1.629Z", fill: color }))
|
|
1227
|
+
);
|
|
1228
|
+
var dollarIcon_default = DollarIcon;
|
|
1229
|
+
|
|
1230
|
+
// lib/icons/engagementIcon.tsx
|
|
1231
|
+
var React47 = __toESM(require("react"), 1);
|
|
1232
|
+
var EngagementIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React47.createElement(
|
|
1233
|
+
"svg",
|
|
1234
|
+
{
|
|
1235
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1236
|
+
width: "11.519",
|
|
1237
|
+
height: "14.886",
|
|
1238
|
+
viewBox: "0 0 11.519 14.886",
|
|
1239
|
+
...props
|
|
1240
|
+
},
|
|
1241
|
+
/* @__PURE__ */ React47.createElement("path", { id: "Path_60771", "data-name": "Path 60771", d: "M15161.869-432l-9.47,6.608,9.47,6.47", transform: "translate(-15151.256 432.905)", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-width": "1.3" })
|
|
1242
|
+
);
|
|
1243
|
+
var engagementIcon_default = EngagementIcon;
|
|
1244
|
+
|
|
1245
|
+
// lib/icons/functionIcon.tsx
|
|
1246
|
+
var React48 = __toESM(require("react"), 1);
|
|
1247
|
+
var FunctionIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React48.createElement(
|
|
1248
|
+
"svg",
|
|
1249
|
+
{
|
|
1250
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1251
|
+
width: "23.5",
|
|
1252
|
+
height: "19.5",
|
|
1253
|
+
viewBox: "0 0 23.5 19.5",
|
|
1254
|
+
...props
|
|
1255
|
+
},
|
|
1256
|
+
/* @__PURE__ */ React48.createElement("g", { id: "users_curved", transform: "translate(-3.25 -11.25)" }, /* @__PURE__ */ React48.createElement("path", { id: "Path_60769", "data-name": "Path 60769", d: "M23.5,30A2.5,2.5,0,0,0,26,27.5c0-2.327-1.952-3.3-4-3.708M18,20a4,4,0,1,0,0-8M6.5,30h11A2.5,2.5,0,0,0,20,27.5c0-4.081-6-4-8-4s-8-.081-8,4A2.5,2.5,0,0,0,6.5,30ZM16,16a4,4,0,1,1-4-4A4,4,0,0,1,16,16Z", fill: "none", stroke: color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.5" }))
|
|
1257
|
+
);
|
|
1258
|
+
var functionIcon_default = FunctionIcon;
|
|
1259
|
+
|
|
1260
|
+
// lib/icons/industryIcon.tsx
|
|
1261
|
+
var React49 = __toESM(require("react"), 1);
|
|
1262
|
+
var IndustryIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React49.createElement(
|
|
1263
|
+
"svg",
|
|
1264
|
+
{
|
|
1265
|
+
id: "graph-up-arrow",
|
|
1266
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1267
|
+
width: "18",
|
|
1268
|
+
height: "18",
|
|
1269
|
+
viewBox: "0 0 18 18",
|
|
1270
|
+
...props
|
|
1271
|
+
},
|
|
1272
|
+
/* @__PURE__ */ React49.createElement("g", { id: "Group_26165", "data-name": "Group 26165" }, /* @__PURE__ */ React49.createElement("path", { id: "Path_60768", "data-name": "Path 60768", d: "M0,0H1.125V16.875H18V18H0ZM11.25,3.937a.563.563,0,0,1,.563-.563h4.5a.562.562,0,0,1,.563.563v4.5a.563.563,0,0,1-1.125,0V5.513l-4.065,4.969a.562.562,0,0,1-.832.042l-2.91-2.91L3.829,13.268a.563.563,0,0,1-.909-.662l4.5-6.187a.563.563,0,0,1,.853-.067l2.935,2.936L15.126,4.5H11.813A.563.563,0,0,1,11.25,3.937Z", fill: color, "fill-rule": "evenodd" }))
|
|
1273
|
+
);
|
|
1274
|
+
var industryIcon_default = IndustryIcon;
|
|
1275
|
+
|
|
1276
|
+
// lib/icons/minExperienceIcon.tsx
|
|
1277
|
+
var React50 = __toESM(require("react"), 1);
|
|
1278
|
+
var MinExperienceIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React50.createElement(
|
|
1279
|
+
"svg",
|
|
1280
|
+
{
|
|
1281
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1282
|
+
width: "25.444",
|
|
1283
|
+
height: "20.16",
|
|
1284
|
+
viewBox: "0 0 25.444 20.16",
|
|
1285
|
+
...props
|
|
1286
|
+
},
|
|
1287
|
+
/* @__PURE__ */ React50.createElement("g", { id: "noun-experience-5679525", transform: "translate(-0.793 -2.387)" }, /* @__PURE__ */ React50.createElement("g", { id: "Group_26168", "data-name": "Group 26168", transform: "translate(0.794 2.387)" }, /* @__PURE__ */ React50.createElement("path", { id: "Path_60772", "data-name": "Path 60772", d: "M13.514,2.387a3.787,3.787,0,0,0-1.982,7,6.6,6.6,0,0,0-4.449,4.941.438.438,0,0,0,.859.178,5.69,5.69,0,0,1,11.149,0,.438.438,0,1,0,.858-.178A6.6,6.6,0,0,0,15.5,9.385a3.786,3.786,0,0,0-1.983-7Zm0,.877a2.907,2.907,0,1,1-2.885,2.908A2.893,2.893,0,0,1,13.514,3.264Zm0,8.7a.437.437,0,0,0-.392.246l-1.052,2.14L9.721,14.7a.441.441,0,0,0-.242.75l1.7,1.669-.4,2.354a.441.441,0,0,0,.174.429.436.436,0,0,0,.46.034l2.1-1.111,2.1,1.111a.436.436,0,0,0,.46-.034.441.441,0,0,0,.174-.429l-.4-2.354,1.7-1.666a.441.441,0,0,0-.242-.751l-2.351-.344-1.051-2.142a.437.437,0,0,0-.392-.245Zm0,1.433.761,1.55a.438.438,0,0,0,.329.241l1.7.248-1.231,1.206a.441.441,0,0,0-.126.391l.29,1.7-1.521-.805a.435.435,0,0,0-.408,0l-1.522.8.291-1.7a.441.441,0,0,0-.126-.389l-1.23-1.207,1.7-.248a.438.438,0,0,0,.33-.241ZM4.963,14.53a.437.437,0,0,0-.392.246L3.519,16.917l-2.35.343a.441.441,0,0,0-.242.751l1.7,1.668-.4,2.354a.441.441,0,0,0,.174.429.436.436,0,0,0,.46.034l2.1-1.11,2.1,1.111a.436.436,0,0,0,.46-.034.441.441,0,0,0,.174-.43l-.4-2.354L9,18.012a.441.441,0,0,0-.242-.751l-2.351-.344L5.355,14.776a.437.437,0,0,0-.392-.246Zm17.105,0a.437.437,0,0,0-.392.246l-1.052,2.141-2.351.343a.441.441,0,0,0-.242.751l1.7,1.668-.4,2.354a.441.441,0,0,0,.174.429.436.436,0,0,0,.46.034l2.1-1.11,2.1,1.111a.436.436,0,0,0,.46-.034.441.441,0,0,0,.174-.43l-.4-2.354,1.7-1.666a.441.441,0,0,0-.242-.751l-2.351-.344-1.051-2.141a.437.437,0,0,0-.392-.246ZM4.963,15.964l.761,1.55a.438.438,0,0,0,.329.241l1.7.248L6.523,19.21a.441.441,0,0,0-.126.39l.29,1.7-1.521-.8a.435.435,0,0,0-.408,0l-1.522.8.291-1.7A.441.441,0,0,0,3.4,19.21L2.172,18l1.7-.248a.438.438,0,0,0,.33-.242Zm17.106,0,.76,1.55a.438.438,0,0,0,.329.241l1.7.248L23.628,19.21a.441.441,0,0,0-.126.39l.29,1.7-1.521-.8a.435.435,0,0,0-.408,0l-1.522.8.291-1.7a.441.441,0,0,0-.126-.389L19.277,18l1.7-.248a.438.438,0,0,0,.33-.242Z", transform: "translate(-0.794 -2.387)", fill: color, "fill-rule": "evenodd" })))
|
|
1288
|
+
);
|
|
1289
|
+
var minExperienceIcon_default = MinExperienceIcon;
|
|
1290
|
+
|
|
1291
|
+
// lib/icons/projectIcon.tsx
|
|
1292
|
+
var React51 = __toESM(require("react"), 1);
|
|
1293
|
+
var ProjectIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React51.createElement(
|
|
1294
|
+
"svg",
|
|
1295
|
+
{
|
|
1296
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1297
|
+
width: "18.571",
|
|
1298
|
+
height: "16.1",
|
|
1299
|
+
viewBox: "0 0 18.571 16.1",
|
|
1300
|
+
...props
|
|
1301
|
+
},
|
|
1302
|
+
/* @__PURE__ */ React51.createElement("g", { id: "Group_26167", "data-name": "Group 26167", transform: "translate(-1125 -644.1)" }, /* @__PURE__ */ React51.createElement("g", { id: "Rectangle_19851", "data-name": "Rectangle 19851", transform: "translate(1125 647.231)", fill: "none", stroke: color, "stroke-width": "1" }, /* @__PURE__ */ React51.createElement("rect", { width: "18.571", height: "12.969", rx: "1", stroke: "none" }), /* @__PURE__ */ React51.createElement("rect", { x: "0.5", y: "0.5", width: "17.571", height: "11.969", rx: "0.5", fill: "none" })), /* @__PURE__ */ React51.createElement("g", { id: "Rectangle_19852", "data-name": "Rectangle 19852", transform: "translate(1131.964 644.1)", fill: "#fff", stroke: color, "stroke-width": "1" }, /* @__PURE__ */ React51.createElement("path", { d: "M2.321,0h0A2.321,2.321,0,0,1,4.643,2.321V4.062a0,0,0,0,1,0,0H0a0,0,0,0,1,0,0V2.321A2.321,2.321,0,0,1,2.321,0Z", stroke: "none" }), /* @__PURE__ */ React51.createElement("path", { d: "M2.321.5h0A1.821,1.821,0,0,1,4.143,2.321V3.467a.1.1,0,0,1-.1.1H.6a.1.1,0,0,1-.1-.1V2.321A1.821,1.821,0,0,1,2.321.5Z", fill: "none" })), /* @__PURE__ */ React51.createElement("line", { id: "Line_619", "data-name": "Line 619", y2: "12.311", transform: "translate(1128.482 647.889)", fill: "none", stroke: color, "stroke-width": "1" }), /* @__PURE__ */ React51.createElement("line", { id: "Line_620", "data-name": "Line 620", y2: "12.311", transform: "translate(1140.089 647.889)", fill: "none", stroke: color, "stroke-width": "1" }))
|
|
1303
|
+
);
|
|
1304
|
+
var projectIcon_default = ProjectIcon;
|
|
1305
|
+
|
|
1306
|
+
// lib/icons/rolesIcon.tsx
|
|
1307
|
+
var React52 = __toESM(require("react"), 1);
|
|
1308
|
+
var RolesIcon = ({ color = "#3a3a3a", ...props }) => /* @__PURE__ */ React52.createElement(
|
|
1309
|
+
"svg",
|
|
1310
|
+
{
|
|
1311
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1312
|
+
width: "18.947",
|
|
1313
|
+
height: "18",
|
|
1314
|
+
viewBox: "0 0 18.947 18",
|
|
1315
|
+
...props
|
|
1316
|
+
},
|
|
1317
|
+
/* @__PURE__ */ React52.createElement("g", { id: "Polygon_20", "data-name": "Polygon 20", fill: "#fff" }, /* @__PURE__ */ React52.createElement("path", { d: "M 14.31851863861084 16.61064720153809 L 9.815674781799316 13.82481002807617 L 9.473684310913086 13.61322975158691 L 9.131693840026855 13.82481002807617 L 4.628849983215332 16.61064720153809 L 5.889554500579834 11.47321033477783 L 5.985584259033203 11.08187007904053 L 5.677794456481934 10.82180023193359 L 1.635604500770569 7.406408309936523 L 6.916284084320068 7.016540050506592 L 7.317644119262695 6.986899852752686 L 7.470024108886719 6.614419937133789 L 9.473684310913086 1.716671586036682 L 11.47734451293945 6.614419937133789 L 11.62972450256348 6.986899852752686 L 12.03108406066895 7.016540050506592 L 17.31176376342773 7.406408309936523 L 13.26957416534424 10.82180023193359 L 12.96178436279297 11.08187007904053 L 13.0578145980835 11.47321033477783 L 14.31851863861084 16.61064720153809 Z", stroke: "none" }), /* @__PURE__ */ React52.createElement("path", { d: "M 9.473684310913086 3.433357238769531 L 7.766864776611328 7.605509757995605 L 3.271193504333496 7.937417984008789 L 6.712894439697266 10.84543991088867 L 5.639073371887207 15.22130012512207 L 9.473684310913086 12.84887981414795 L 13.30829429626465 15.22130012512207 L 12.23447418212891 10.84543991088867 L 15.67617416381836 7.937417984008789 L 11.18050384521484 7.605509757995605 L 9.473684310913086 3.433357238769531 M 9.473684310913086 0 L 12.07894420623779 6.368300437927246 L 18.94736480712891 6.87539005279541 L 13.68908500671387 11.31830024719238 L 15.32874488830566 18 L 9.473684310913086 14.37757015228271 L 3.618624687194824 18 L 5.258284568786621 11.31830024719238 L 3.814697265625e-06 6.87539005279541 L 6.868424415588379 6.368300437927246 L 9.473684310913086 0 Z", stroke: "none", fill: color }))
|
|
1318
|
+
);
|
|
1319
|
+
var rolesIcon_default = RolesIcon;
|
|
1320
|
+
|
|
1321
|
+
// lib/Contexts/rufousThemeProvider.tsx
|
|
1322
|
+
var import_react16 = __toESM(require("react"), 1);
|
|
1323
|
+
var RufousThemeContext = (0, import_react16.createContext)(null);
|
|
1203
1324
|
var RufousThemeProvider = ({ children }) => {
|
|
1204
|
-
const [committedThemeKey, setCommittedThemeKey] = (0,
|
|
1205
|
-
const [previewThemeKey, setPreviewThemeKey] = (0,
|
|
1206
|
-
const [settings, setSettings] = (0,
|
|
1325
|
+
const [committedThemeKey, setCommittedThemeKey] = (0, import_react16.useState)("default");
|
|
1326
|
+
const [previewThemeKey, setPreviewThemeKey] = (0, import_react16.useState)("default");
|
|
1327
|
+
const [settings, setSettings] = (0, import_react16.useState)(null);
|
|
1207
1328
|
const getGeneralSettings = async () => {
|
|
1208
1329
|
try {
|
|
1209
1330
|
const theme = localStorage.getItem("theme") || "default";
|
|
@@ -1213,10 +1334,10 @@ var RufousThemeProvider = ({ children }) => {
|
|
|
1213
1334
|
console.error("Error fetching general settings:", err);
|
|
1214
1335
|
}
|
|
1215
1336
|
};
|
|
1216
|
-
(0,
|
|
1337
|
+
(0, import_react16.useEffect)(() => {
|
|
1217
1338
|
getGeneralSettings();
|
|
1218
1339
|
}, []);
|
|
1219
|
-
const fullTheme = (0,
|
|
1340
|
+
const fullTheme = (0, import_react16.useMemo)(() => {
|
|
1220
1341
|
return {
|
|
1221
1342
|
themeKey: previewThemeKey || settings.theme,
|
|
1222
1343
|
customStyles: APP_THEMES[previewThemeKey || settings.theme]
|
|
@@ -1229,7 +1350,7 @@ var RufousThemeProvider = ({ children }) => {
|
|
|
1229
1350
|
setCommittedThemeKey(key);
|
|
1230
1351
|
};
|
|
1231
1352
|
const cancelTheme = () => setPreviewThemeKey(committedThemeKey);
|
|
1232
|
-
return /* @__PURE__ */
|
|
1353
|
+
return /* @__PURE__ */ import_react16.default.createElement(
|
|
1233
1354
|
RufousThemeContext.Provider,
|
|
1234
1355
|
{
|
|
1235
1356
|
value: {
|
|
@@ -1243,7 +1364,7 @@ var RufousThemeProvider = ({ children }) => {
|
|
|
1243
1364
|
updateSettings: (v) => setSettings(v)
|
|
1244
1365
|
}
|
|
1245
1366
|
},
|
|
1246
|
-
/* @__PURE__ */
|
|
1367
|
+
/* @__PURE__ */ import_react16.default.createElement(
|
|
1247
1368
|
"div",
|
|
1248
1369
|
{
|
|
1249
1370
|
className: `theme-${previewThemeKey || committedThemeKey || "default"}`
|
|
@@ -1252,7 +1373,7 @@ var RufousThemeProvider = ({ children }) => {
|
|
|
1252
1373
|
)
|
|
1253
1374
|
);
|
|
1254
1375
|
};
|
|
1255
|
-
var useRufousTheme = () => (0,
|
|
1376
|
+
var useRufousTheme = () => (0, import_react16.useContext)(RufousThemeContext);
|
|
1256
1377
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1257
1378
|
0 && (module.exports = {
|
|
1258
1379
|
APP_THEMES,
|
|
@@ -1266,17 +1387,23 @@ var useRufousTheme = () => (0, import_react15.useContext)(RufousThemeContext);
|
|
|
1266
1387
|
DifficultyEasyIcon,
|
|
1267
1388
|
DifficultyHardIcon,
|
|
1268
1389
|
DifficultyMediumIcon,
|
|
1390
|
+
DollarIcon,
|
|
1269
1391
|
DownloadIcon,
|
|
1270
1392
|
EditChatIcon,
|
|
1271
1393
|
EditIcon,
|
|
1394
|
+
EngagementIcon,
|
|
1272
1395
|
FloatingInput,
|
|
1396
|
+
FunctionIcon,
|
|
1273
1397
|
HelpOutlinedIcon,
|
|
1274
1398
|
HierarchyIcon,
|
|
1275
1399
|
InactiveGroupIcon,
|
|
1400
|
+
IndustryIcon,
|
|
1276
1401
|
InvoiceIcon,
|
|
1277
1402
|
LogsIcon,
|
|
1403
|
+
MinExperienceIcon,
|
|
1278
1404
|
NineDotMenuIcon,
|
|
1279
1405
|
NotificationIcon,
|
|
1406
|
+
ProjectIcon,
|
|
1280
1407
|
QuestionStatusAllIcon,
|
|
1281
1408
|
QuestionStatusPrivateIcon,
|
|
1282
1409
|
QuestionStatusPublicIcon,
|
|
@@ -1285,7 +1412,9 @@ var useRufousTheme = () => (0, import_react15.useContext)(RufousThemeContext);
|
|
|
1285
1412
|
QuestionTypeDescriptiveIcon,
|
|
1286
1413
|
QuestionTypeMultipleIcon,
|
|
1287
1414
|
QuestionTypeSingleIcon,
|
|
1415
|
+
RefreshIcon,
|
|
1288
1416
|
ResendInviteIcon,
|
|
1417
|
+
RolesIcon,
|
|
1289
1418
|
RufousBirdIcon,
|
|
1290
1419
|
RufousLauncherIcon,
|
|
1291
1420
|
RufousThemeProvider,
|
package/dist/main.d.cts
CHANGED
|
@@ -43,5 +43,13 @@ 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';
|
|
47
|
+
export { default as DollarIcon } from './icons/dollarIcon.cjs';
|
|
48
|
+
export { default as EngagementIcon } from './icons/engagementIcon.cjs';
|
|
49
|
+
export { default as FunctionIcon } from './icons/functionIcon.cjs';
|
|
50
|
+
export { default as IndustryIcon } from './icons/industryIcon.cjs';
|
|
51
|
+
export { default as MinExperienceIcon } from './icons/minExperienceIcon.cjs';
|
|
52
|
+
export { default as ProjectIcon } from './icons/projectIcon.cjs';
|
|
53
|
+
export { default as RolesIcon } from './icons/rolesIcon.cjs';
|
|
46
54
|
export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.cjs';
|
|
47
55
|
import 'react';
|
package/dist/main.d.ts
CHANGED
|
@@ -43,5 +43,13 @@ 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';
|
|
47
|
+
export { default as DollarIcon } from './icons/dollarIcon.js';
|
|
48
|
+
export { default as EngagementIcon } from './icons/engagementIcon.js';
|
|
49
|
+
export { default as FunctionIcon } from './icons/functionIcon.js';
|
|
50
|
+
export { default as IndustryIcon } from './icons/industryIcon.js';
|
|
51
|
+
export { default as MinExperienceIcon } from './icons/minExperienceIcon.js';
|
|
52
|
+
export { default as ProjectIcon } from './icons/projectIcon.js';
|
|
53
|
+
export { default as RolesIcon } from './icons/rolesIcon.js';
|
|
46
54
|
export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.js';
|
|
47
55
|
import 'react';
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-CC7BNJL3.js";
|
|
2
2
|
import {
|
|
3
3
|
userAssignIcon_default
|
|
4
4
|
} from "./chunk-BH53P2UM.js";
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
uploadIcon_default
|
|
34
34
|
} from "./chunk-DXJ745NZ.js";
|
|
35
|
-
import {
|
|
36
|
-
questionTypeCodingIcon_default
|
|
37
|
-
} from "./chunk-FOUXNPQA.js";
|
|
38
|
-
import {
|
|
39
|
-
questionTypeDescriptiveIcon_default
|
|
40
|
-
} from "./chunk-C7B23GTE.js";
|
|
41
35
|
import {
|
|
42
36
|
questionTypeMultipleIcon_default
|
|
43
37
|
} from "./chunk-XCLXQOLP.js";
|
|
44
38
|
import {
|
|
45
39
|
questionTypeSingleIcon_default
|
|
46
40
|
} from "./chunk-ZJYLZ6I6.js";
|
|
41
|
+
import {
|
|
42
|
+
refreshIcon_default
|
|
43
|
+
} from "./chunk-RNA4TTYR.js";
|
|
47
44
|
import {
|
|
48
45
|
resendInviteIcon_default
|
|
49
46
|
} from "./chunk-WG3Q6GZN.js";
|
|
47
|
+
import {
|
|
48
|
+
rolesIcon_default
|
|
49
|
+
} from "./chunk-RJ43D3XB.js";
|
|
50
50
|
import {
|
|
51
51
|
rufousBirdIcon_default
|
|
52
52
|
} from "./chunk-DMP72IAP.js";
|
|
@@ -56,18 +56,12 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
sidebarIcon_default
|
|
58
58
|
} from "./chunk-CSKTBLQQ.js";
|
|
59
|
-
import {
|
|
60
|
-
invoiceIcon_default
|
|
61
|
-
} from "./chunk-KYJ3475B.js";
|
|
62
|
-
import {
|
|
63
|
-
logsIcon_default
|
|
64
|
-
} from "./chunk-N4EJKMJK.js";
|
|
65
|
-
import {
|
|
66
|
-
nineDotMenuIcon_default
|
|
67
|
-
} from "./chunk-D7SFBVJY.js";
|
|
68
59
|
import {
|
|
69
60
|
notificationIcon_default
|
|
70
61
|
} from "./chunk-MWCKUVQG.js";
|
|
62
|
+
import {
|
|
63
|
+
projectIcon_default
|
|
64
|
+
} from "./chunk-BYJP2WNC.js";
|
|
71
65
|
import {
|
|
72
66
|
questionStatusAllIcon_default
|
|
73
67
|
} from "./chunk-GYLL3HRD.js";
|
|
@@ -80,9 +74,39 @@ import {
|
|
|
80
74
|
import {
|
|
81
75
|
questionTypeAllIcon_default
|
|
82
76
|
} from "./chunk-WHGVO3HV.js";
|
|
77
|
+
import {
|
|
78
|
+
questionTypeCodingIcon_default
|
|
79
|
+
} from "./chunk-FOUXNPQA.js";
|
|
80
|
+
import {
|
|
81
|
+
questionTypeDescriptiveIcon_default
|
|
82
|
+
} from "./chunk-C7B23GTE.js";
|
|
83
|
+
import {
|
|
84
|
+
hierarchyIcon_default
|
|
85
|
+
} from "./chunk-WZAU77G7.js";
|
|
86
|
+
import {
|
|
87
|
+
inactiveGroupIcon_default
|
|
88
|
+
} from "./chunk-7WNPZ4B7.js";
|
|
89
|
+
import {
|
|
90
|
+
industryIcon_default
|
|
91
|
+
} from "./chunk-NSW6ZGZF.js";
|
|
92
|
+
import {
|
|
93
|
+
invoiceIcon_default
|
|
94
|
+
} from "./chunk-KYJ3475B.js";
|
|
95
|
+
import {
|
|
96
|
+
logsIcon_default
|
|
97
|
+
} from "./chunk-N4EJKMJK.js";
|
|
98
|
+
import {
|
|
99
|
+
minExperienceIcon_default
|
|
100
|
+
} from "./chunk-MKK7M3BH.js";
|
|
101
|
+
import {
|
|
102
|
+
nineDotMenuIcon_default
|
|
103
|
+
} from "./chunk-D7SFBVJY.js";
|
|
83
104
|
import {
|
|
84
105
|
difficultyMediumIcon_default
|
|
85
106
|
} from "./chunk-XPJVVKOU.js";
|
|
107
|
+
import {
|
|
108
|
+
dollarIcon_default
|
|
109
|
+
} from "./chunk-GL43GPEM.js";
|
|
86
110
|
import {
|
|
87
111
|
downloadIcon_default
|
|
88
112
|
} from "./chunk-IOEQAR2M.js";
|
|
@@ -93,14 +117,14 @@ import {
|
|
|
93
117
|
editIcon_default
|
|
94
118
|
} from "./chunk-H372BAXA.js";
|
|
95
119
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
120
|
+
engagementIcon_default
|
|
121
|
+
} from "./chunk-FSRABKKC.js";
|
|
98
122
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
123
|
+
functionIcon_default
|
|
124
|
+
} from "./chunk-ZAYWFYP4.js";
|
|
101
125
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
126
|
+
helpOutlinedIcon_default
|
|
127
|
+
} from "./chunk-PULIGWAP.js";
|
|
104
128
|
import {
|
|
105
129
|
FloatingInput
|
|
106
130
|
} from "./chunk-AWA5Y5LH.js";
|
|
@@ -150,17 +174,23 @@ export {
|
|
|
150
174
|
difficultyEasyIcon_default as DifficultyEasyIcon,
|
|
151
175
|
difficultyHardIcon_default as DifficultyHardIcon,
|
|
152
176
|
difficultyMediumIcon_default as DifficultyMediumIcon,
|
|
177
|
+
dollarIcon_default as DollarIcon,
|
|
153
178
|
downloadIcon_default as DownloadIcon,
|
|
154
179
|
editChatIcon_default as EditChatIcon,
|
|
155
180
|
editIcon_default as EditIcon,
|
|
181
|
+
engagementIcon_default as EngagementIcon,
|
|
156
182
|
FloatingInput,
|
|
183
|
+
functionIcon_default as FunctionIcon,
|
|
157
184
|
helpOutlinedIcon_default as HelpOutlinedIcon,
|
|
158
185
|
hierarchyIcon_default as HierarchyIcon,
|
|
159
186
|
inactiveGroupIcon_default as InactiveGroupIcon,
|
|
187
|
+
industryIcon_default as IndustryIcon,
|
|
160
188
|
invoiceIcon_default as InvoiceIcon,
|
|
161
189
|
logsIcon_default as LogsIcon,
|
|
190
|
+
minExperienceIcon_default as MinExperienceIcon,
|
|
162
191
|
nineDotMenuIcon_default as NineDotMenuIcon,
|
|
163
192
|
notificationIcon_default as NotificationIcon,
|
|
193
|
+
projectIcon_default as ProjectIcon,
|
|
164
194
|
questionStatusAllIcon_default as QuestionStatusAllIcon,
|
|
165
195
|
questionStatusPrivateIcon_default as QuestionStatusPrivateIcon,
|
|
166
196
|
questionStatusPublicIcon_default as QuestionStatusPublicIcon,
|
|
@@ -169,7 +199,9 @@ export {
|
|
|
169
199
|
questionTypeDescriptiveIcon_default as QuestionTypeDescriptiveIcon,
|
|
170
200
|
questionTypeMultipleIcon_default as QuestionTypeMultipleIcon,
|
|
171
201
|
questionTypeSingleIcon_default as QuestionTypeSingleIcon,
|
|
202
|
+
refreshIcon_default as RefreshIcon,
|
|
172
203
|
resendInviteIcon_default as ResendInviteIcon,
|
|
204
|
+
rolesIcon_default as RolesIcon,
|
|
173
205
|
rufousBirdIcon_default as RufousBirdIcon,
|
|
174
206
|
rufousLauncherBird_default as RufousLauncherIcon,
|
|
175
207
|
RufousThemeProvider,
|
package/package.json
CHANGED
|
File without changes
|