@xenide-io/the-old-ui-theme 0.9.9 → 0.9.10
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/suite.js +2 -11
- package/dist/suite.mjs +2 -11
- package/package.json +1 -1
- package/src/suite/components/ai-panel.tsx +1 -10
package/dist/suite.js
CHANGED
|
@@ -4107,7 +4107,7 @@ function SuiteAiPanel({
|
|
|
4107
4107
|
className: "max-h-36 min-h-10 flex-1 resize-none bg-transparent px-1.5 py-2 text-sm leading-relaxed text-ph-ink outline-none placeholder:text-ph-mutedtext"
|
|
4108
4108
|
}
|
|
4109
4109
|
),
|
|
4110
|
-
|
|
4110
|
+
waiting ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Tooltip, { content: "Stop generating", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4111
4111
|
"button",
|
|
4112
4112
|
{
|
|
4113
4113
|
type: "button",
|
|
@@ -4117,16 +4117,7 @@ function SuiteAiPanel({
|
|
|
4117
4117
|
"aria-label": "Stop generating",
|
|
4118
4118
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_iconoir_react8.Square, { className: "h-3.5 w-3.5 fill-current" })
|
|
4119
4119
|
}
|
|
4120
|
-
) }) :
|
|
4121
|
-
"span",
|
|
4122
|
-
{
|
|
4123
|
-
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-ph-muted text-ph-subtle",
|
|
4124
|
-
"data-test": "ask-ai-waiting",
|
|
4125
|
-
role: "status",
|
|
4126
|
-
"aria-label": "Shelly is responding",
|
|
4127
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Spinner, { className: "h-4 w-4 animate-spin" })
|
|
4128
|
-
}
|
|
4129
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Tooltip, { content: "Send message", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4120
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Tooltip, { content: "Send message", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4130
4121
|
"button",
|
|
4131
4122
|
{
|
|
4132
4123
|
type: "button",
|
package/dist/suite.mjs
CHANGED
|
@@ -3087,7 +3087,7 @@ function SuiteAiPanel({
|
|
|
3087
3087
|
className: "max-h-36 min-h-10 flex-1 resize-none bg-transparent px-1.5 py-2 text-sm leading-relaxed text-ph-ink outline-none placeholder:text-ph-mutedtext"
|
|
3088
3088
|
}
|
|
3089
3089
|
),
|
|
3090
|
-
|
|
3090
|
+
waiting ? /* @__PURE__ */ jsx17(Tooltip, { content: "Stop generating", children: /* @__PURE__ */ jsx17(
|
|
3091
3091
|
"button",
|
|
3092
3092
|
{
|
|
3093
3093
|
type: "button",
|
|
@@ -3097,16 +3097,7 @@ function SuiteAiPanel({
|
|
|
3097
3097
|
"aria-label": "Stop generating",
|
|
3098
3098
|
children: /* @__PURE__ */ jsx17(Square, { className: "h-3.5 w-3.5 fill-current" })
|
|
3099
3099
|
}
|
|
3100
|
-
) }) :
|
|
3101
|
-
"span",
|
|
3102
|
-
{
|
|
3103
|
-
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-ph-muted text-ph-subtle",
|
|
3104
|
-
"data-test": "ask-ai-waiting",
|
|
3105
|
-
role: "status",
|
|
3106
|
-
"aria-label": "Shelly is responding",
|
|
3107
|
-
children: /* @__PURE__ */ jsx17(Spinner, { className: "h-4 w-4 animate-spin" })
|
|
3108
|
-
}
|
|
3109
|
-
) : /* @__PURE__ */ jsx17(Tooltip, { content: "Send message", children: /* @__PURE__ */ jsx17(
|
|
3100
|
+
) }) : /* @__PURE__ */ jsx17(Tooltip, { content: "Send message", children: /* @__PURE__ */ jsx17(
|
|
3110
3101
|
"button",
|
|
3111
3102
|
{
|
|
3112
3103
|
type: "button",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenide-io/the-old-ui-theme",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"description": "Props-driven React components and theme tokens inspired by classic interface design — optimized for Next.js apps and internal tools.",
|
|
5
5
|
"author": "Xenide",
|
|
6
6
|
"license": "MIT",
|
|
@@ -865,7 +865,7 @@ export function SuiteAiPanel({
|
|
|
865
865
|
data-test="ask-ai-input"
|
|
866
866
|
className="max-h-36 min-h-10 flex-1 resize-none bg-transparent px-1.5 py-2 text-sm leading-relaxed text-ph-ink outline-none placeholder:text-ph-mutedtext"
|
|
867
867
|
/>
|
|
868
|
-
{
|
|
868
|
+
{waiting ? (
|
|
869
869
|
<Tooltip content="Stop generating">
|
|
870
870
|
<button
|
|
871
871
|
type="button"
|
|
@@ -877,15 +877,6 @@ export function SuiteAiPanel({
|
|
|
877
877
|
<Square className="h-3.5 w-3.5 fill-current" />
|
|
878
878
|
</button>
|
|
879
879
|
</Tooltip>
|
|
880
|
-
) : isWaitingForReply ? (
|
|
881
|
-
<span
|
|
882
|
-
className="flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-ph-muted text-ph-subtle"
|
|
883
|
-
data-test="ask-ai-waiting"
|
|
884
|
-
role="status"
|
|
885
|
-
aria-label="Shelly is responding"
|
|
886
|
-
>
|
|
887
|
-
<Spinner className="h-4 w-4 animate-spin" />
|
|
888
|
-
</span>
|
|
889
880
|
) : (
|
|
890
881
|
<Tooltip content="Send message">
|
|
891
882
|
<button
|