qt-ui-kit 1.0.76 → 1.0.78
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15231,7 +15231,7 @@ function SenderSourceRow({
|
|
|
15231
15231
|
/* @__PURE__ */ jsxs9("div", { className: "flex gap-[4px] place-items-center", children: [
|
|
15232
15232
|
/* @__PURE__ */ jsx12("div", { className: "body-small-bold break-all line-clamp-1", children: leftText }),
|
|
15233
15233
|
/* @__PURE__ */ jsx12("div", { className: "body-smal text-center", children: seperator }),
|
|
15234
|
-
/* @__PURE__ */ jsx12("div", { className: "body-small-bold text-center
|
|
15234
|
+
/* @__PURE__ */ jsx12("div", { className: "body-small-bold text-center", children: rightText }),
|
|
15235
15235
|
/* @__PURE__ */ jsx12("div", { className: "label-3 flex", children: date && formatCustomRelative(date) })
|
|
15236
15236
|
] }),
|
|
15237
15237
|
/* @__PURE__ */ jsx12("div", { onClick, children: /* @__PURE__ */ jsx12(ExternalLink, { size: shrunk ? 16 : 24 }) })
|
|
@@ -16489,14 +16489,14 @@ function EventCard({
|
|
|
16489
16489
|
urgencyExplanation: d.urgencyText,
|
|
16490
16490
|
service: d.service,
|
|
16491
16491
|
body: d.eventBody,
|
|
16492
|
-
startExpanded: i ==
|
|
16492
|
+
startExpanded: i == eventData.length - 1,
|
|
16493
16493
|
sender: d.sender,
|
|
16494
16494
|
source: d.source,
|
|
16495
16495
|
subjectLine: d.subjectLine,
|
|
16496
16496
|
onExternal: () => window.open(d.link, "_blank"),
|
|
16497
16497
|
summary: d.summary
|
|
16498
16498
|
},
|
|
16499
|
-
d.
|
|
16499
|
+
d.id
|
|
16500
16500
|
)) : /* @__PURE__ */ jsx33(Fragment12, { children: " " }) });
|
|
16501
16501
|
case "ticket" /* TICKET */:
|
|
16502
16502
|
return /* @__PURE__ */ jsx33(Fragment12, { children: eventData ? eventData.map((d, i) => /* @__PURE__ */ jsx33(
|
|
@@ -16505,13 +16505,14 @@ function EventCard({
|
|
|
16505
16505
|
urgency: d.urgency,
|
|
16506
16506
|
service: d.service,
|
|
16507
16507
|
body: d.eventBody,
|
|
16508
|
-
startExpanded: i ==
|
|
16508
|
+
startExpanded: i == eventData.length - 1,
|
|
16509
16509
|
sender: d.sender,
|
|
16510
16510
|
source: d.source,
|
|
16511
16511
|
subjectLine: d.subjectLine,
|
|
16512
16512
|
onExternal: () => window.open(d.link, "_blank"),
|
|
16513
16513
|
summary: d.summary
|
|
16514
|
-
}
|
|
16514
|
+
},
|
|
16515
|
+
d.id
|
|
16515
16516
|
)) : /* @__PURE__ */ jsx33(Fragment12, { children: " " }) });
|
|
16516
16517
|
default:
|
|
16517
16518
|
return /* @__PURE__ */ jsx33(Fragment12, {});
|
|
@@ -16648,7 +16649,7 @@ function ChatBubble({
|
|
|
16648
16649
|
"div",
|
|
16649
16650
|
{
|
|
16650
16651
|
className: clsx10(
|
|
16651
|
-
"w-full p-4 bg-
|
|
16652
|
+
"w-full p-4 bg-white rounded-t-3xl flex flex-col gap-2",
|
|
16652
16653
|
outbound ? "border-2 border-qtpurple-300" : "",
|
|
16653
16654
|
outbound ? "rounded-bl-3xl" : "rounded-br-3xl"
|
|
16654
16655
|
),
|
|
@@ -16727,7 +16728,8 @@ function ChatBody({ messages }) {
|
|
|
16727
16728
|
timestamp: msg.timeStamp,
|
|
16728
16729
|
emojis: msg.emojis,
|
|
16729
16730
|
onExternal: () => window.open(msg.link, "_blank")
|
|
16730
|
-
}
|
|
16731
|
+
},
|
|
16732
|
+
msg.id
|
|
16731
16733
|
);
|
|
16732
16734
|
}) }) });
|
|
16733
16735
|
}
|
|
@@ -17446,6 +17448,7 @@ var EventState = /* @__PURE__ */ ((EventState2) => {
|
|
|
17446
17448
|
// src/util/mockdata.ts
|
|
17447
17449
|
var fakeMessages = [
|
|
17448
17450
|
{
|
|
17451
|
+
id: "123",
|
|
17449
17452
|
name: "Sr. Issac Newton",
|
|
17450
17453
|
timeStamp: "Today @ 11:45 AM",
|
|
17451
17454
|
body: "Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights. Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights. Hey team, just a reminder that the client pitch deck needs final review today. I\u2019ve updated the numbers from Q1 and added two new slides with competitor insights.",
|
|
@@ -17454,6 +17457,7 @@ var fakeMessages = [
|
|
|
17454
17457
|
outbound: true
|
|
17455
17458
|
},
|
|
17456
17459
|
{
|
|
17460
|
+
id: "124",
|
|
17457
17461
|
name: "Sr. Issac Newton",
|
|
17458
17462
|
timeStamp: "Tomorrow @ 2:00 PM",
|
|
17459
17463
|
body: "I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs. I\u2019ve confirmed the offsite meeting with the engineering leads. It will be held at the downtown conference center and lunch will be provided. Let me know if you have dietary needs.",
|
|
@@ -17463,6 +17467,7 @@ var fakeMessages = [
|
|
|
17463
17467
|
outbound: true
|
|
17464
17468
|
},
|
|
17465
17469
|
{
|
|
17470
|
+
id: "125",
|
|
17466
17471
|
name: "Priya Desai",
|
|
17467
17472
|
timeStamp: "Wednesday @ 3:15 PM",
|
|
17468
17473
|
body: `
|
|
@@ -17480,6 +17485,7 @@ This is a *markdown* **example**.
|
|
|
17480
17485
|
outbound: false
|
|
17481
17486
|
},
|
|
17482
17487
|
{
|
|
17488
|
+
id: "126",
|
|
17483
17489
|
name: "Devon James",
|
|
17484
17490
|
timeStamp: "Monday, 19th May @ 9:30 AM",
|
|
17485
17491
|
body: "The supplier in Shenzhen confirmed they can expedite our next shipment. They'll need final approval by Thursday to ensure arrival before the end of the month.",
|
|
@@ -17488,6 +17494,7 @@ This is a *markdown* **example**.
|
|
|
17488
17494
|
outbound: false
|
|
17489
17495
|
},
|
|
17490
17496
|
{
|
|
17497
|
+
id: "127",
|
|
17491
17498
|
name: "Sr. Issac Newton",
|
|
17492
17499
|
timeStamp: "Friday @ 4:20 PM",
|
|
17493
17500
|
body: "I\u2019ve updated the analytics dashboard to include bounce rate and average session duration for each product page. Check the new filters under 'Advanced Metrics'.",
|
|
@@ -17495,6 +17502,7 @@ This is a *markdown* **example**.
|
|
|
17495
17502
|
outbound: true
|
|
17496
17503
|
},
|
|
17497
17504
|
{
|
|
17505
|
+
id: "128",
|
|
17498
17506
|
name: "Zahra Malik",
|
|
17499
17507
|
timeStamp: "Today @ 10:00 AM",
|
|
17500
17508
|
body: "Just wrapped up the investor Q&A session. Feedback was positive, especially on the projected growth numbers. A few asked about regulatory concerns\u2014I'll send a memo tomorrow.",
|
|
@@ -17504,6 +17512,7 @@ This is a *markdown* **example**.
|
|
|
17504
17512
|
outbound: false
|
|
17505
17513
|
},
|
|
17506
17514
|
{
|
|
17515
|
+
id: "129",
|
|
17507
17516
|
name: "Sr. Issac Newton",
|
|
17508
17517
|
timeStamp: "Thursday @ 6:15 PM",
|
|
17509
17518
|
body: "Legal has flagged a few clauses in the new vendor agreement that may conflict with our IP policy. Recommend we pause signing until we clarify points 4 and 7.",
|
|
@@ -17512,6 +17521,7 @@ This is a *markdown* **example**.
|
|
|
17512
17521
|
outbound: true
|
|
17513
17522
|
},
|
|
17514
17523
|
{
|
|
17524
|
+
id: "1234",
|
|
17515
17525
|
name: "Anna Kov\xE1cs",
|
|
17516
17526
|
timeStamp: "Tuesday @ 8:00 AM",
|
|
17517
17527
|
body: "We\u2019ve identified a bug in the onboarding flow affecting Android 11 devices. Users are unable to progress past the third screen. Patch in progress, ETA tomorrow.",
|
|
@@ -17519,6 +17529,7 @@ This is a *markdown* **example**.
|
|
|
17519
17529
|
outbound: false
|
|
17520
17530
|
},
|
|
17521
17531
|
{
|
|
17532
|
+
id: "1235",
|
|
17522
17533
|
name: "Sr. Issac Newton",
|
|
17523
17534
|
timeStamp: "Monday, 26th May @ 1:45 PM",
|
|
17524
17535
|
body: "Reminder that the quarterly town hall is scheduled for the last Monday of the month. We'll cover performance metrics, upcoming hires, and the office reopening plan.",
|
|
@@ -17527,6 +17538,7 @@ This is a *markdown* **example**.
|
|
|
17527
17538
|
outbound: true
|
|
17528
17539
|
},
|
|
17529
17540
|
{
|
|
17541
|
+
id: "1236",
|
|
17530
17542
|
name: "Fatima Ahmed",
|
|
17531
17543
|
timeStamp: "Sunday, 25th May @ 10:30 AM",
|
|
17532
17544
|
body: "I\u2019ve drafted a new content calendar for Q3 with themes for each week. Would love feedback on week 4\u2014thinking of tying it to a product announcement.",
|