catchup-library-web 1.12.7 → 1.12.8
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/components/groups/InputGroup.tsx +2 -19
package/dist/index.js
CHANGED
|
@@ -3766,7 +3766,7 @@ var InputGroup = ({
|
|
|
3766
3766
|
{
|
|
3767
3767
|
readOnly: true,
|
|
3768
3768
|
value: mathValue,
|
|
3769
|
-
className: "w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large
|
|
3769
|
+
className: "w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large resize-none focus:outline-none",
|
|
3770
3770
|
placeholder: i18n_default.t("latex_will_appear_here")
|
|
3771
3771
|
}
|
|
3772
3772
|
),
|
|
@@ -3774,7 +3774,7 @@ var InputGroup = ({
|
|
|
3774
3774
|
"button",
|
|
3775
3775
|
{
|
|
3776
3776
|
onClick: handleCopyLatex,
|
|
3777
|
-
className: "absolute top-
|
|
3777
|
+
className: "absolute top-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-md hover:bg-catchup-blue-500 transition-colors",
|
|
3778
3778
|
disabled: !mathValue,
|
|
3779
3779
|
children: i18n_default.t("copy")
|
|
3780
3780
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3565,7 +3565,7 @@ var InputGroup = ({
|
|
|
3565
3565
|
{
|
|
3566
3566
|
readOnly: true,
|
|
3567
3567
|
value: mathValue,
|
|
3568
|
-
className: "w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large
|
|
3568
|
+
className: "w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large resize-none focus:outline-none",
|
|
3569
3569
|
placeholder: i18n_default.t("latex_will_appear_here")
|
|
3570
3570
|
}
|
|
3571
3571
|
),
|
|
@@ -3573,7 +3573,7 @@ var InputGroup = ({
|
|
|
3573
3573
|
"button",
|
|
3574
3574
|
{
|
|
3575
3575
|
onClick: handleCopyLatex,
|
|
3576
|
-
className: "absolute top-
|
|
3576
|
+
className: "absolute top-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-md hover:bg-catchup-blue-500 transition-colors",
|
|
3577
3577
|
disabled: !mathValue,
|
|
3578
3578
|
children: i18n_default.t("copy")
|
|
3579
3579
|
}
|
package/package.json
CHANGED
|
@@ -193,7 +193,6 @@ const InputGroup = ({
|
|
|
193
193
|
</div>
|
|
194
194
|
</div>
|
|
195
195
|
|
|
196
|
-
{/* LaTeX Output */}
|
|
197
196
|
<div>
|
|
198
197
|
<p className="text-md font-semibold pl-2 py-1 text-catchup-gray-400">
|
|
199
198
|
{i18n.t("latex_output")}
|
|
@@ -202,12 +201,12 @@ const InputGroup = ({
|
|
|
202
201
|
<textarea
|
|
203
202
|
readOnly
|
|
204
203
|
value={mathValue}
|
|
205
|
-
className="w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large
|
|
204
|
+
className="w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large resize-none focus:outline-none"
|
|
206
205
|
placeholder={i18n.t("latex_will_appear_here")}
|
|
207
206
|
/>
|
|
208
207
|
<button
|
|
209
208
|
onClick={handleCopyLatex}
|
|
210
|
-
className="absolute top-
|
|
209
|
+
className="absolute top-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-md hover:bg-catchup-blue-500 transition-colors"
|
|
211
210
|
disabled={!mathValue}
|
|
212
211
|
>
|
|
213
212
|
{i18n.t("copy")}
|
|
@@ -215,22 +214,6 @@ const InputGroup = ({
|
|
|
215
214
|
</div>
|
|
216
215
|
</div>
|
|
217
216
|
</div>
|
|
218
|
-
|
|
219
|
-
{/* Footer */}
|
|
220
|
-
{/* <div className="flex justify-end gap-3 p-6 border-t border-catchup-gray-100">
|
|
221
|
-
<SecondaryButton
|
|
222
|
-
title={i18n.t("cancel")}
|
|
223
|
-
size="large"
|
|
224
|
-
onClick={() => {
|
|
225
|
-
setShowMathConstructor(false);
|
|
226
|
-
}}
|
|
227
|
-
/>
|
|
228
|
-
<PrimaryButton
|
|
229
|
-
title={i18n.t("insert_latex")}
|
|
230
|
-
size="large"
|
|
231
|
-
onClick={handleInsertLatex}
|
|
232
|
-
/>
|
|
233
|
-
</div> */}
|
|
234
217
|
</div>
|
|
235
218
|
</FullCard>
|
|
236
219
|
</BaseModal>
|