@blank-utils/llm 0.4.4 → 0.4.5
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-PZDFDQSH.js → chunk-UTUSTRC5.js} +39 -16
- package/dist/index.css +69 -6
- package/dist/index.js +1 -1
- package/dist/react/index.css +69 -6
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
|
@@ -894,7 +894,7 @@ import { useRef as useRef3, useEffect as useEffect3, useState as useState3, useM
|
|
|
894
894
|
// src/react/chat-input.tsx
|
|
895
895
|
import "react";
|
|
896
896
|
import { useRef as useRef2, useEffect as useEffect2, useCallback as useCallback2, useState as useState2 } from "react";
|
|
897
|
-
import "lucide-react";
|
|
897
|
+
import { Send, Square, Paperclip } from "lucide-react";
|
|
898
898
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
899
899
|
function ChatInput({
|
|
900
900
|
value,
|
|
@@ -1053,37 +1053,49 @@ ${newText}` : newText);
|
|
|
1053
1053
|
className: "w-full min-h-[24px] max-h-[200px] resize-none border-none outline-none bg-transparent text-current text-[13px] font-light font-mono leading-relaxed p-0 m-0 placeholder:text-current placeholder:opacity-30 placeholder:uppercase placeholder:tracking-[0.2em] scrollbar-none"
|
|
1054
1054
|
}
|
|
1055
1055
|
),
|
|
1056
|
-
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between mt-
|
|
1057
|
-
/* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-4", children: [
|
|
1056
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex md:flex-row flex-col items-center justify-between mt-8 gap-4", children: [
|
|
1057
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-4 w-full md:w-auto", children: [
|
|
1058
1058
|
modelSelector && /* @__PURE__ */ jsx2("div", { children: modelSelector }),
|
|
1059
|
-
/* @__PURE__ */
|
|
1059
|
+
/* @__PURE__ */ jsxs2(
|
|
1060
1060
|
"button",
|
|
1061
1061
|
{
|
|
1062
1062
|
type: "button",
|
|
1063
|
-
className: "
|
|
1063
|
+
className: "group flex-1 md:flex-none flex items-center justify-center gap-3 px-6 py-3 rounded-md border bg-transparent border-current/20 text-current hover:bg-current/5 hover:border-current/50 transition-all duration-300",
|
|
1064
1064
|
onClick: () => fileInputRef.current?.click(),
|
|
1065
1065
|
title: "Attach image or PDF (Ctrl+V to paste)",
|
|
1066
|
-
children:
|
|
1066
|
+
children: [
|
|
1067
|
+
/* @__PURE__ */ jsx2(Paperclip, { className: "w-4 h-4 opacity-70 group-hover:opacity-100 transition-opacity" }),
|
|
1068
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[11px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ FILE ]" }),
|
|
1069
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[10px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u30D5\u30A1\u30A4\u30EB" })
|
|
1070
|
+
]
|
|
1067
1071
|
}
|
|
1068
1072
|
),
|
|
1069
1073
|
actions
|
|
1070
1074
|
] }),
|
|
1071
|
-
/* @__PURE__ */ jsx2("div", { className: "flex items-center gap-4", children: isGenerating ? /* @__PURE__ */
|
|
1075
|
+
/* @__PURE__ */ jsx2("div", { className: "flex items-center gap-4 w-full md:w-auto", children: isGenerating ? /* @__PURE__ */ jsxs2(
|
|
1072
1076
|
"button",
|
|
1073
1077
|
{
|
|
1074
1078
|
type: "button",
|
|
1075
|
-
className: "
|
|
1079
|
+
className: "group flex-1 md:flex-none flex items-center justify-center gap-3 px-6 py-3 rounded-md border bg-red-500/10 border-red-500/30 text-red-500 hover:bg-red-500/20 transition-all duration-300",
|
|
1076
1080
|
onClick: onStop,
|
|
1077
|
-
children:
|
|
1081
|
+
children: [
|
|
1082
|
+
/* @__PURE__ */ jsx2(Square, { className: "w-4 h-4 opacity-70 group-hover:opacity-100 transition-opacity" }),
|
|
1083
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[11px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ STOP ]" }),
|
|
1084
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[10px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u505C\u6B62" })
|
|
1085
|
+
]
|
|
1078
1086
|
}
|
|
1079
|
-
) : /* @__PURE__ */
|
|
1087
|
+
) : /* @__PURE__ */ jsxs2(
|
|
1080
1088
|
"button",
|
|
1081
1089
|
{
|
|
1082
1090
|
type: "button",
|
|
1083
|
-
className: `
|
|
1091
|
+
className: `group flex-1 md:flex-none flex items-center justify-center gap-3 px-8 py-3 rounded-md transition-all duration-300 ${canSend ? theme === "dark" ? "bg-[#fafafa] text-black border hover:opacity-80" : "bg-black text-[#fafafa] border hover:opacity-80" : theme === "dark" ? "bg-[#fafafa]/10 text-[#fafafa]/40 cursor-not-allowed border border-transparent" : "bg-black/10 text-black/40 cursor-not-allowed border border-transparent"}`,
|
|
1084
1092
|
onClick: onSend,
|
|
1085
1093
|
disabled: !canSend,
|
|
1086
|
-
children:
|
|
1094
|
+
children: [
|
|
1095
|
+
/* @__PURE__ */ jsx2(Send, { className: "w-4 h-4 opacity-70 group-hover:opacity-100 transition-opacity" }),
|
|
1096
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[11px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ SEND ]" }),
|
|
1097
|
+
/* @__PURE__ */ jsx2("span", { className: "text-[10px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u9001\u4FE1" })
|
|
1098
|
+
]
|
|
1087
1099
|
}
|
|
1088
1100
|
) })
|
|
1089
1101
|
] })
|
|
@@ -1093,7 +1105,7 @@ ${newText}` : newText);
|
|
|
1093
1105
|
}
|
|
1094
1106
|
|
|
1095
1107
|
// src/react/components.tsx
|
|
1096
|
-
import { AlertCircle } from "lucide-react";
|
|
1108
|
+
import { RotateCcw, AlertCircle } from "lucide-react";
|
|
1097
1109
|
import { clsx } from "clsx";
|
|
1098
1110
|
import { twMerge } from "tailwind-merge";
|
|
1099
1111
|
import { Streamdown, parseMarkdownIntoBlocks } from "streamdown";
|
|
@@ -1451,9 +1463,20 @@ ${systemPrompt}` : systemPrompt;
|
|
|
1451
1463
|
}
|
|
1452
1464
|
) })
|
|
1453
1465
|
] }),
|
|
1454
|
-
error && /* @__PURE__ */ jsxs3("div", { className: "mx-6 mt-6 p-
|
|
1455
|
-
/* @__PURE__ */ jsx3("span", { className: "font-light", children: error.message }),
|
|
1456
|
-
/* @__PURE__ */
|
|
1466
|
+
error && /* @__PURE__ */ jsxs3("div", { className: "mx-6 md:mx-8 mt-6 p-6 border border-red-500/30 text-red-500 bg-red-500/5 flex flex-col md:flex-row justify-between items-start md:items-center gap-4 text-[10px] tracking-[0.2em] uppercase rounded-md", children: [
|
|
1467
|
+
/* @__PURE__ */ jsx3("span", { className: "font-light leading-relaxed max-w-2xl", children: error.message }),
|
|
1468
|
+
/* @__PURE__ */ jsxs3(
|
|
1469
|
+
"button",
|
|
1470
|
+
{
|
|
1471
|
+
onClick: reload,
|
|
1472
|
+
className: "group flex items-center justify-center min-w-max gap-3 px-6 py-3 rounded-md border border-red-500/30 bg-red-500/10 text-red-500 hover:bg-red-500/20 transition-all duration-300",
|
|
1473
|
+
children: [
|
|
1474
|
+
/* @__PURE__ */ jsx3(RotateCcw, { className: "w-4 h-4 opacity-70 group-hover:opacity-100 transition-opacity" }),
|
|
1475
|
+
/* @__PURE__ */ jsx3("span", { className: "text-[11px] font-bold tracking-[0.2em] uppercase", children: "[ REBOOT ]" }),
|
|
1476
|
+
/* @__PURE__ */ jsx3("span", { className: "text-[10px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest", children: "\u518D\u8D77\u52D5" })
|
|
1477
|
+
]
|
|
1478
|
+
}
|
|
1479
|
+
)
|
|
1457
1480
|
] }),
|
|
1458
1481
|
/* @__PURE__ */ jsxs3("div", { className: "flex-1 overflow-y-auto p-6 flex flex-col gap-12 scrollbar-none", children: [
|
|
1459
1482
|
!isLoading && messages.length === 0 && !error && /* @__PURE__ */ jsxs3("div", { className: "flex-1 flex flex-col items-center justify-center text-center p-8", children: [
|
package/dist/index.css
CHANGED
|
@@ -2272,6 +2272,9 @@ video {
|
|
|
2272
2272
|
.mt-6 {
|
|
2273
2273
|
margin-top: 1.5rem;
|
|
2274
2274
|
}
|
|
2275
|
+
.mt-8 {
|
|
2276
|
+
margin-top: 2rem;
|
|
2277
|
+
}
|
|
2275
2278
|
.block {
|
|
2276
2279
|
display: block;
|
|
2277
2280
|
}
|
|
@@ -2373,6 +2376,13 @@ video {
|
|
|
2373
2376
|
.min-w-\[120px\] {
|
|
2374
2377
|
min-width: 120px;
|
|
2375
2378
|
}
|
|
2379
|
+
.min-w-max {
|
|
2380
|
+
min-width: -moz-max-content;
|
|
2381
|
+
min-width: max-content;
|
|
2382
|
+
}
|
|
2383
|
+
.max-w-2xl {
|
|
2384
|
+
max-width: 42rem;
|
|
2385
|
+
}
|
|
2376
2386
|
.max-w-full {
|
|
2377
2387
|
max-width: 100%;
|
|
2378
2388
|
}
|
|
@@ -2453,6 +2463,9 @@ video {
|
|
|
2453
2463
|
.flex-wrap {
|
|
2454
2464
|
flex-wrap: wrap;
|
|
2455
2465
|
}
|
|
2466
|
+
.items-start {
|
|
2467
|
+
align-items: flex-start;
|
|
2468
|
+
}
|
|
2456
2469
|
.items-center {
|
|
2457
2470
|
align-items: center;
|
|
2458
2471
|
}
|
|
@@ -2575,6 +2588,9 @@ video {
|
|
|
2575
2588
|
.border-red-500\/30 {
|
|
2576
2589
|
border-color: rgb(239 68 68 / 0.3);
|
|
2577
2590
|
}
|
|
2591
|
+
.border-transparent {
|
|
2592
|
+
border-color: transparent;
|
|
2593
|
+
}
|
|
2578
2594
|
.border-white\/20 {
|
|
2579
2595
|
border-color: rgb(255 255 255 / 0.2);
|
|
2580
2596
|
}
|
|
@@ -2582,6 +2598,9 @@ video {
|
|
|
2582
2598
|
--tw-bg-opacity: 1;
|
|
2583
2599
|
background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1));
|
|
2584
2600
|
}
|
|
2601
|
+
.bg-\[\#fafafa\]\/10 {
|
|
2602
|
+
background-color: rgb(250 250 250 / 0.1);
|
|
2603
|
+
}
|
|
2585
2604
|
.bg-\[var\(--sdm-tbg\)\] {
|
|
2586
2605
|
background-color: var(--sdm-tbg);
|
|
2587
2606
|
}
|
|
@@ -2612,6 +2631,9 @@ video {
|
|
|
2612
2631
|
.bg-red-500\/20 {
|
|
2613
2632
|
background-color: rgb(239 68 68 / 0.2);
|
|
2614
2633
|
}
|
|
2634
|
+
.bg-red-500\/5 {
|
|
2635
|
+
background-color: rgb(239 68 68 / 0.05);
|
|
2636
|
+
}
|
|
2615
2637
|
.bg-transparent {
|
|
2616
2638
|
background-color: transparent;
|
|
2617
2639
|
}
|
|
@@ -2673,6 +2695,10 @@ video {
|
|
|
2673
2695
|
padding-left: 1.5rem;
|
|
2674
2696
|
padding-right: 1.5rem;
|
|
2675
2697
|
}
|
|
2698
|
+
.px-8 {
|
|
2699
|
+
padding-left: 2rem;
|
|
2700
|
+
padding-right: 2rem;
|
|
2701
|
+
}
|
|
2676
2702
|
.py-0\.5 {
|
|
2677
2703
|
padding-top: 0.125rem;
|
|
2678
2704
|
padding-bottom: 0.125rem;
|
|
@@ -2693,6 +2719,10 @@ video {
|
|
|
2693
2719
|
padding-top: 0.625rem;
|
|
2694
2720
|
padding-bottom: 0.625rem;
|
|
2695
2721
|
}
|
|
2722
|
+
.py-3 {
|
|
2723
|
+
padding-top: 0.75rem;
|
|
2724
|
+
padding-bottom: 0.75rem;
|
|
2725
|
+
}
|
|
2696
2726
|
.py-4 {
|
|
2697
2727
|
padding-top: 1rem;
|
|
2698
2728
|
padding-bottom: 1rem;
|
|
@@ -2780,6 +2810,9 @@ video {
|
|
|
2780
2810
|
font-size: 0.75rem;
|
|
2781
2811
|
line-height: 1rem;
|
|
2782
2812
|
}
|
|
2813
|
+
.font-bold {
|
|
2814
|
+
font-weight: 700;
|
|
2815
|
+
}
|
|
2783
2816
|
.font-light {
|
|
2784
2817
|
font-weight: 300;
|
|
2785
2818
|
}
|
|
@@ -2820,6 +2853,9 @@ video {
|
|
|
2820
2853
|
--tw-text-opacity: 1;
|
|
2821
2854
|
color: rgb(250 250 250 / var(--tw-text-opacity, 1));
|
|
2822
2855
|
}
|
|
2856
|
+
.text-\[\#fafafa\]\/40 {
|
|
2857
|
+
color: rgb(250 250 250 / 0.4);
|
|
2858
|
+
}
|
|
2823
2859
|
.text-\[var\(--sdm-c\,inherit\)\] {
|
|
2824
2860
|
color: var(--sdm-c,inherit);
|
|
2825
2861
|
}
|
|
@@ -2827,6 +2863,9 @@ video {
|
|
|
2827
2863
|
--tw-text-opacity: 1;
|
|
2828
2864
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
2829
2865
|
}
|
|
2866
|
+
.text-black\/40 {
|
|
2867
|
+
color: rgb(0 0 0 / 0.4);
|
|
2868
|
+
}
|
|
2830
2869
|
.text-current {
|
|
2831
2870
|
color: currentColor;
|
|
2832
2871
|
}
|
|
@@ -2859,15 +2898,12 @@ video {
|
|
|
2859
2898
|
.opacity-0 {
|
|
2860
2899
|
opacity: 0;
|
|
2861
2900
|
}
|
|
2862
|
-
.opacity-100 {
|
|
2863
|
-
opacity: 1;
|
|
2864
|
-
}
|
|
2865
|
-
.opacity-20 {
|
|
2866
|
-
opacity: 0.2;
|
|
2867
|
-
}
|
|
2868
2901
|
.opacity-30 {
|
|
2869
2902
|
opacity: 0.3;
|
|
2870
2903
|
}
|
|
2904
|
+
.opacity-40 {
|
|
2905
|
+
opacity: 0.4;
|
|
2906
|
+
}
|
|
2871
2907
|
.opacity-50 {
|
|
2872
2908
|
opacity: 0.5;
|
|
2873
2909
|
}
|
|
@@ -3085,6 +3121,9 @@ video {
|
|
|
3085
3121
|
--tw-content: var(--streamdown-caret);
|
|
3086
3122
|
content: var(--tw-content);
|
|
3087
3123
|
}
|
|
3124
|
+
.hover\:bg-red-500\/20:hover {
|
|
3125
|
+
background-color: rgb(239 68 68 / 0.2);
|
|
3126
|
+
}
|
|
3088
3127
|
.hover\:bg-red-500\/30:hover {
|
|
3089
3128
|
background-color: rgb(239 68 68 / 0.3);
|
|
3090
3129
|
}
|
|
@@ -3097,6 +3136,9 @@ video {
|
|
|
3097
3136
|
.hover\:opacity-70:hover {
|
|
3098
3137
|
opacity: 0.7;
|
|
3099
3138
|
}
|
|
3139
|
+
.hover\:opacity-80:hover {
|
|
3140
|
+
opacity: 0.8;
|
|
3141
|
+
}
|
|
3100
3142
|
.disabled\:cursor-not-allowed:disabled {
|
|
3101
3143
|
cursor: not-allowed;
|
|
3102
3144
|
}
|
|
@@ -3109,6 +3151,9 @@ video {
|
|
|
3109
3151
|
.group:hover .group-hover\:opacity-100 {
|
|
3110
3152
|
opacity: 1;
|
|
3111
3153
|
}
|
|
3154
|
+
.group:hover .group-hover\:opacity-60 {
|
|
3155
|
+
opacity: 0.6;
|
|
3156
|
+
}
|
|
3112
3157
|
.group:hover .group-hover\:grayscale-0 {
|
|
3113
3158
|
--tw-grayscale: grayscale(0);
|
|
3114
3159
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
@@ -3123,6 +3168,24 @@ video {
|
|
|
3123
3168
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
3124
3169
|
}
|
|
3125
3170
|
}
|
|
3171
|
+
@media (min-width: 768px) {
|
|
3172
|
+
.md\:mx-8 {
|
|
3173
|
+
margin-left: 2rem;
|
|
3174
|
+
margin-right: 2rem;
|
|
3175
|
+
}
|
|
3176
|
+
.md\:w-auto {
|
|
3177
|
+
width: auto;
|
|
3178
|
+
}
|
|
3179
|
+
.md\:flex-none {
|
|
3180
|
+
flex: none;
|
|
3181
|
+
}
|
|
3182
|
+
.md\:flex-row {
|
|
3183
|
+
flex-direction: row;
|
|
3184
|
+
}
|
|
3185
|
+
.md\:items-center {
|
|
3186
|
+
align-items: center;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3126
3189
|
@media (prefers-color-scheme: dark) {
|
|
3127
3190
|
.dark\:bg-\[var\(--shiki-dark-bg\,var\(--sdm-tbg\)\)\] {
|
|
3128
3191
|
background-color: var(--shiki-dark-bg,var(--sdm-tbg));
|
package/dist/index.js
CHANGED
package/dist/react/index.css
CHANGED
|
@@ -2272,6 +2272,9 @@ video {
|
|
|
2272
2272
|
.mt-6 {
|
|
2273
2273
|
margin-top: 1.5rem;
|
|
2274
2274
|
}
|
|
2275
|
+
.mt-8 {
|
|
2276
|
+
margin-top: 2rem;
|
|
2277
|
+
}
|
|
2275
2278
|
.block {
|
|
2276
2279
|
display: block;
|
|
2277
2280
|
}
|
|
@@ -2373,6 +2376,13 @@ video {
|
|
|
2373
2376
|
.min-w-\[120px\] {
|
|
2374
2377
|
min-width: 120px;
|
|
2375
2378
|
}
|
|
2379
|
+
.min-w-max {
|
|
2380
|
+
min-width: -moz-max-content;
|
|
2381
|
+
min-width: max-content;
|
|
2382
|
+
}
|
|
2383
|
+
.max-w-2xl {
|
|
2384
|
+
max-width: 42rem;
|
|
2385
|
+
}
|
|
2376
2386
|
.max-w-full {
|
|
2377
2387
|
max-width: 100%;
|
|
2378
2388
|
}
|
|
@@ -2453,6 +2463,9 @@ video {
|
|
|
2453
2463
|
.flex-wrap {
|
|
2454
2464
|
flex-wrap: wrap;
|
|
2455
2465
|
}
|
|
2466
|
+
.items-start {
|
|
2467
|
+
align-items: flex-start;
|
|
2468
|
+
}
|
|
2456
2469
|
.items-center {
|
|
2457
2470
|
align-items: center;
|
|
2458
2471
|
}
|
|
@@ -2575,6 +2588,9 @@ video {
|
|
|
2575
2588
|
.border-red-500\/30 {
|
|
2576
2589
|
border-color: rgb(239 68 68 / 0.3);
|
|
2577
2590
|
}
|
|
2591
|
+
.border-transparent {
|
|
2592
|
+
border-color: transparent;
|
|
2593
|
+
}
|
|
2578
2594
|
.border-white\/20 {
|
|
2579
2595
|
border-color: rgb(255 255 255 / 0.2);
|
|
2580
2596
|
}
|
|
@@ -2582,6 +2598,9 @@ video {
|
|
|
2582
2598
|
--tw-bg-opacity: 1;
|
|
2583
2599
|
background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1));
|
|
2584
2600
|
}
|
|
2601
|
+
.bg-\[\#fafafa\]\/10 {
|
|
2602
|
+
background-color: rgb(250 250 250 / 0.1);
|
|
2603
|
+
}
|
|
2585
2604
|
.bg-\[var\(--sdm-tbg\)\] {
|
|
2586
2605
|
background-color: var(--sdm-tbg);
|
|
2587
2606
|
}
|
|
@@ -2612,6 +2631,9 @@ video {
|
|
|
2612
2631
|
.bg-red-500\/20 {
|
|
2613
2632
|
background-color: rgb(239 68 68 / 0.2);
|
|
2614
2633
|
}
|
|
2634
|
+
.bg-red-500\/5 {
|
|
2635
|
+
background-color: rgb(239 68 68 / 0.05);
|
|
2636
|
+
}
|
|
2615
2637
|
.bg-transparent {
|
|
2616
2638
|
background-color: transparent;
|
|
2617
2639
|
}
|
|
@@ -2673,6 +2695,10 @@ video {
|
|
|
2673
2695
|
padding-left: 1.5rem;
|
|
2674
2696
|
padding-right: 1.5rem;
|
|
2675
2697
|
}
|
|
2698
|
+
.px-8 {
|
|
2699
|
+
padding-left: 2rem;
|
|
2700
|
+
padding-right: 2rem;
|
|
2701
|
+
}
|
|
2676
2702
|
.py-0\.5 {
|
|
2677
2703
|
padding-top: 0.125rem;
|
|
2678
2704
|
padding-bottom: 0.125rem;
|
|
@@ -2693,6 +2719,10 @@ video {
|
|
|
2693
2719
|
padding-top: 0.625rem;
|
|
2694
2720
|
padding-bottom: 0.625rem;
|
|
2695
2721
|
}
|
|
2722
|
+
.py-3 {
|
|
2723
|
+
padding-top: 0.75rem;
|
|
2724
|
+
padding-bottom: 0.75rem;
|
|
2725
|
+
}
|
|
2696
2726
|
.py-4 {
|
|
2697
2727
|
padding-top: 1rem;
|
|
2698
2728
|
padding-bottom: 1rem;
|
|
@@ -2780,6 +2810,9 @@ video {
|
|
|
2780
2810
|
font-size: 0.75rem;
|
|
2781
2811
|
line-height: 1rem;
|
|
2782
2812
|
}
|
|
2813
|
+
.font-bold {
|
|
2814
|
+
font-weight: 700;
|
|
2815
|
+
}
|
|
2783
2816
|
.font-light {
|
|
2784
2817
|
font-weight: 300;
|
|
2785
2818
|
}
|
|
@@ -2820,6 +2853,9 @@ video {
|
|
|
2820
2853
|
--tw-text-opacity: 1;
|
|
2821
2854
|
color: rgb(250 250 250 / var(--tw-text-opacity, 1));
|
|
2822
2855
|
}
|
|
2856
|
+
.text-\[\#fafafa\]\/40 {
|
|
2857
|
+
color: rgb(250 250 250 / 0.4);
|
|
2858
|
+
}
|
|
2823
2859
|
.text-\[var\(--sdm-c\,inherit\)\] {
|
|
2824
2860
|
color: var(--sdm-c,inherit);
|
|
2825
2861
|
}
|
|
@@ -2827,6 +2863,9 @@ video {
|
|
|
2827
2863
|
--tw-text-opacity: 1;
|
|
2828
2864
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
2829
2865
|
}
|
|
2866
|
+
.text-black\/40 {
|
|
2867
|
+
color: rgb(0 0 0 / 0.4);
|
|
2868
|
+
}
|
|
2830
2869
|
.text-current {
|
|
2831
2870
|
color: currentColor;
|
|
2832
2871
|
}
|
|
@@ -2859,15 +2898,12 @@ video {
|
|
|
2859
2898
|
.opacity-0 {
|
|
2860
2899
|
opacity: 0;
|
|
2861
2900
|
}
|
|
2862
|
-
.opacity-100 {
|
|
2863
|
-
opacity: 1;
|
|
2864
|
-
}
|
|
2865
|
-
.opacity-20 {
|
|
2866
|
-
opacity: 0.2;
|
|
2867
|
-
}
|
|
2868
2901
|
.opacity-30 {
|
|
2869
2902
|
opacity: 0.3;
|
|
2870
2903
|
}
|
|
2904
|
+
.opacity-40 {
|
|
2905
|
+
opacity: 0.4;
|
|
2906
|
+
}
|
|
2871
2907
|
.opacity-50 {
|
|
2872
2908
|
opacity: 0.5;
|
|
2873
2909
|
}
|
|
@@ -3085,6 +3121,9 @@ video {
|
|
|
3085
3121
|
--tw-content: var(--streamdown-caret);
|
|
3086
3122
|
content: var(--tw-content);
|
|
3087
3123
|
}
|
|
3124
|
+
.hover\:bg-red-500\/20:hover {
|
|
3125
|
+
background-color: rgb(239 68 68 / 0.2);
|
|
3126
|
+
}
|
|
3088
3127
|
.hover\:bg-red-500\/30:hover {
|
|
3089
3128
|
background-color: rgb(239 68 68 / 0.3);
|
|
3090
3129
|
}
|
|
@@ -3097,6 +3136,9 @@ video {
|
|
|
3097
3136
|
.hover\:opacity-70:hover {
|
|
3098
3137
|
opacity: 0.7;
|
|
3099
3138
|
}
|
|
3139
|
+
.hover\:opacity-80:hover {
|
|
3140
|
+
opacity: 0.8;
|
|
3141
|
+
}
|
|
3100
3142
|
.disabled\:cursor-not-allowed:disabled {
|
|
3101
3143
|
cursor: not-allowed;
|
|
3102
3144
|
}
|
|
@@ -3109,6 +3151,9 @@ video {
|
|
|
3109
3151
|
.group:hover .group-hover\:opacity-100 {
|
|
3110
3152
|
opacity: 1;
|
|
3111
3153
|
}
|
|
3154
|
+
.group:hover .group-hover\:opacity-60 {
|
|
3155
|
+
opacity: 0.6;
|
|
3156
|
+
}
|
|
3112
3157
|
.group:hover .group-hover\:grayscale-0 {
|
|
3113
3158
|
--tw-grayscale: grayscale(0);
|
|
3114
3159
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
@@ -3123,6 +3168,24 @@ video {
|
|
|
3123
3168
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
3124
3169
|
}
|
|
3125
3170
|
}
|
|
3171
|
+
@media (min-width: 768px) {
|
|
3172
|
+
.md\:mx-8 {
|
|
3173
|
+
margin-left: 2rem;
|
|
3174
|
+
margin-right: 2rem;
|
|
3175
|
+
}
|
|
3176
|
+
.md\:w-auto {
|
|
3177
|
+
width: auto;
|
|
3178
|
+
}
|
|
3179
|
+
.md\:flex-none {
|
|
3180
|
+
flex: none;
|
|
3181
|
+
}
|
|
3182
|
+
.md\:flex-row {
|
|
3183
|
+
flex-direction: row;
|
|
3184
|
+
}
|
|
3185
|
+
.md\:items-center {
|
|
3186
|
+
align-items: center;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3126
3189
|
@media (prefers-color-scheme: dark) {
|
|
3127
3190
|
.dark\:bg-\[var\(--shiki-dark-bg\,var\(--sdm-tbg\)\)\] {
|
|
3128
3191
|
background-color: var(--shiki-dark-bg,var(--sdm-tbg));
|
package/dist/react/index.js
CHANGED
package/package.json
CHANGED