catchup-library-web 1.12.6 → 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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/src/components/groups/InputGroup.tsx +3 -20
package/dist/index.js
CHANGED
|
@@ -3743,7 +3743,7 @@ var InputGroup = ({
|
|
|
3743
3743
|
"smart-mode": true,
|
|
3744
3744
|
"smart-superscript": true,
|
|
3745
3745
|
style: {
|
|
3746
|
-
fontSize: "
|
|
3746
|
+
fontSize: "14px",
|
|
3747
3747
|
paddingRight: "16px",
|
|
3748
3748
|
paddingLeft: "16px",
|
|
3749
3749
|
paddingTop: "8px",
|
|
@@ -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-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-
|
|
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
|
@@ -3542,7 +3542,7 @@ var InputGroup = ({
|
|
|
3542
3542
|
"smart-mode": true,
|
|
3543
3543
|
"smart-superscript": true,
|
|
3544
3544
|
style: {
|
|
3545
|
-
fontSize: "
|
|
3545
|
+
fontSize: "14px",
|
|
3546
3546
|
paddingRight: "16px",
|
|
3547
3547
|
paddingLeft: "16px",
|
|
3548
3548
|
paddingTop: "8px",
|
|
@@ -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-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-
|
|
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
|
@@ -177,7 +177,7 @@ const InputGroup = ({
|
|
|
177
177
|
smart-mode={true}
|
|
178
178
|
smart-superscript={true}
|
|
179
179
|
style={{
|
|
180
|
-
fontSize: "
|
|
180
|
+
fontSize: "14px",
|
|
181
181
|
paddingRight: "16px",
|
|
182
182
|
paddingLeft: "16px",
|
|
183
183
|
paddingTop: "8px",
|
|
@@ -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-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-
|
|
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>
|