catchup-library-web 2.7.2 → 2.7.3

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 CHANGED
@@ -4106,73 +4106,95 @@ var InputGroup = ({
4106
4106
  },
4107
4107
  children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "bg-catchup-white rounded-lg overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "space-y-6", children: [
4108
4108
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-md text-catchup-gray-400 pl-2", children: i18n_default.t("write_equation_in_double_dollars") }),
4109
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large p-4", children: [
4110
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-blue-400", children: i18n_default.t("latex_cheat_sheet") }),
4111
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("table", { className: "w-full text-md", children: [
4112
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { className: "text-left text-catchup-gray-400", children: [
4113
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("th", { className: "pb-2 font-semibold", children: "LaTeX" }),
4114
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("th", { className: "pb-2 font-semibold" })
4115
- ] }) }),
4116
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tbody", { className: "font-mono text-catchup-gray-400", children: [
4117
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4118
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\frac{a}{b}" }),
4119
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\frac{a}{b}$$" }) })
4120
- ] }),
4121
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4122
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "x^{2}" }),
4123
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$x^{2}$$" }) })
4124
- ] }),
4125
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4126
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "x_{i}" }),
4127
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$x_{i}$$" }) })
4128
- ] }),
4129
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4130
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sqrt{x}" }),
4131
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sqrt{x}$$" }) })
4132
- ] }),
4133
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4134
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sqrt[3]{x}" }),
4135
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sqrt[3]{x}$$" }) })
4136
- ] }),
4137
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4138
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sum_{i=1}^{n}" }),
4139
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sum_{i=1}^{n}$$" }) })
4140
- ] }),
4141
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4142
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\int_{a}^{b}" }),
4143
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\int_{a}^{b}$$" }) })
4144
- ] }),
4145
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4146
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\infty" }),
4147
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\infty$$" }) })
4148
- ] }),
4149
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4150
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\pi" }),
4151
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\pi$$" }) })
4152
- ] }),
4153
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4154
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\alpha \\beta \\gamma" }),
4155
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\alpha \\beta \\gamma$$" }) })
4156
- ] }),
4157
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4158
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\leq \\geq \\neq" }),
4159
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\leq \\geq \\neq$$" }) })
4160
- ] }),
4161
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4162
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\pm \\times \\div" }),
4163
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\pm \\times \\div$$" }) })
4164
- ] }),
4165
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4166
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\log_{a}{b}" }),
4167
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\log_{a}{b}$$" }) })
4168
- ] }),
4169
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4170
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sin \\cos \\tan" }),
4171
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sin \\cos \\tan$$" }) })
4172
- ] })
4109
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large p-4", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("table", { className: "w-full text-md", children: [
4110
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { className: "text-left text-catchup-gray-400", children: [
4111
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("th", { className: "pb-2 font-semibold", children: "LaTeX" }),
4112
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("th", { className: "pb-2 font-semibold" })
4113
+ ] }) }),
4114
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tbody", { className: "font-mono text-catchup-gray-400", children: [
4115
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4116
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\frac{a}{b}" }),
4117
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\frac{a}{b}$$" }) })
4118
+ ] }),
4119
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4120
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "x^{2}" }),
4121
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$x^{2}$$" }) })
4122
+ ] }),
4123
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4124
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "x_{i}" }),
4125
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$x_{i}$$" }) })
4126
+ ] }),
4127
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4128
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sqrt{x}" }),
4129
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sqrt{x}$$" }) })
4130
+ ] }),
4131
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4132
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sqrt[3]{x}" }),
4133
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\sqrt[3]{x}$$" }) })
4134
+ ] }),
4135
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4136
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sum_{i=1}^{n}" }),
4137
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4138
+ InputWithSpecialExpression_default,
4139
+ {
4140
+ value: "$$\\sum_{i=1}^{n}$$"
4141
+ }
4142
+ ) })
4143
+ ] }),
4144
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4145
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\int_{a}^{b}" }),
4146
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\int_{a}^{b}$$" }) })
4147
+ ] }),
4148
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4149
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\infty" }),
4150
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\infty$$" }) })
4151
+ ] }),
4152
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4153
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\pi" }),
4154
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\pi$$" }) })
4155
+ ] }),
4156
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4157
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\alpha \\beta \\gamma" }),
4158
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4159
+ InputWithSpecialExpression_default,
4160
+ {
4161
+ value: "$$\\alpha \\beta \\gamma$$"
4162
+ }
4163
+ ) })
4164
+ ] }),
4165
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4166
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\leq \\geq \\neq" }),
4167
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4168
+ InputWithSpecialExpression_default,
4169
+ {
4170
+ value: "$$\\leq \\geq \\neq$$"
4171
+ }
4172
+ ) })
4173
+ ] }),
4174
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4175
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\pm \\times \\div" }),
4176
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4177
+ InputWithSpecialExpression_default,
4178
+ {
4179
+ value: "$$\\pm \\times \\div$$"
4180
+ }
4181
+ ) })
4182
+ ] }),
4183
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4184
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\log_{a}{b}" }),
4185
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputWithSpecialExpression_default, { value: "$$\\log_{a}{b}$$" }) })
4186
+ ] }),
4187
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { children: [
4188
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: "\\sin \\cos \\tan" }),
4189
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("td", { className: "py-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4190
+ InputWithSpecialExpression_default,
4191
+ {
4192
+ value: "$$\\sin \\cos \\tan$$"
4193
+ }
4194
+ ) })
4173
4195
  ] })
4174
4196
  ] })
4175
- ] })
4197
+ ] }) })
4176
4198
  ] }) })
4177
4199
  }
4178
4200
  );
package/dist/index.mjs CHANGED
@@ -3866,73 +3866,95 @@ var InputGroup = ({
3866
3866
  },
3867
3867
  children: /* @__PURE__ */ jsx25("div", { className: "bg-catchup-white rounded-lg overflow-hidden", children: /* @__PURE__ */ jsxs15("div", { className: "space-y-6", children: [
3868
3868
  /* @__PURE__ */ jsx25("p", { className: "text-md text-catchup-gray-400 pl-2", children: i18n_default.t("write_equation_in_double_dollars") }),
3869
- /* @__PURE__ */ jsxs15("div", { className: "bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large p-4", children: [
3870
- /* @__PURE__ */ jsx25("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-blue-400", children: i18n_default.t("latex_cheat_sheet") }),
3871
- /* @__PURE__ */ jsxs15("table", { className: "w-full text-md", children: [
3872
- /* @__PURE__ */ jsx25("thead", { children: /* @__PURE__ */ jsxs15("tr", { className: "text-left text-catchup-gray-400", children: [
3873
- /* @__PURE__ */ jsx25("th", { className: "pb-2 font-semibold", children: "LaTeX" }),
3874
- /* @__PURE__ */ jsx25("th", { className: "pb-2 font-semibold" })
3875
- ] }) }),
3876
- /* @__PURE__ */ jsxs15("tbody", { className: "font-mono text-catchup-gray-400", children: [
3877
- /* @__PURE__ */ jsxs15("tr", { children: [
3878
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\frac{a}{b}" }),
3879
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\frac{a}{b}$$" }) })
3880
- ] }),
3881
- /* @__PURE__ */ jsxs15("tr", { children: [
3882
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "x^{2}" }),
3883
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$x^{2}$$" }) })
3884
- ] }),
3885
- /* @__PURE__ */ jsxs15("tr", { children: [
3886
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "x_{i}" }),
3887
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$x_{i}$$" }) })
3888
- ] }),
3889
- /* @__PURE__ */ jsxs15("tr", { children: [
3890
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sqrt{x}" }),
3891
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sqrt{x}$$" }) })
3892
- ] }),
3893
- /* @__PURE__ */ jsxs15("tr", { children: [
3894
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sqrt[3]{x}" }),
3895
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sqrt[3]{x}$$" }) })
3896
- ] }),
3897
- /* @__PURE__ */ jsxs15("tr", { children: [
3898
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sum_{i=1}^{n}" }),
3899
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sum_{i=1}^{n}$$" }) })
3900
- ] }),
3901
- /* @__PURE__ */ jsxs15("tr", { children: [
3902
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\int_{a}^{b}" }),
3903
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\int_{a}^{b}$$" }) })
3904
- ] }),
3905
- /* @__PURE__ */ jsxs15("tr", { children: [
3906
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\infty" }),
3907
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\infty$$" }) })
3908
- ] }),
3909
- /* @__PURE__ */ jsxs15("tr", { children: [
3910
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\pi" }),
3911
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\pi$$" }) })
3912
- ] }),
3913
- /* @__PURE__ */ jsxs15("tr", { children: [
3914
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\alpha \\beta \\gamma" }),
3915
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\alpha \\beta \\gamma$$" }) })
3916
- ] }),
3917
- /* @__PURE__ */ jsxs15("tr", { children: [
3918
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\leq \\geq \\neq" }),
3919
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\leq \\geq \\neq$$" }) })
3920
- ] }),
3921
- /* @__PURE__ */ jsxs15("tr", { children: [
3922
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\pm \\times \\div" }),
3923
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\pm \\times \\div$$" }) })
3924
- ] }),
3925
- /* @__PURE__ */ jsxs15("tr", { children: [
3926
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\log_{a}{b}" }),
3927
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\log_{a}{b}$$" }) })
3928
- ] }),
3929
- /* @__PURE__ */ jsxs15("tr", { children: [
3930
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sin \\cos \\tan" }),
3931
- /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sin \\cos \\tan$$" }) })
3932
- ] })
3869
+ /* @__PURE__ */ jsx25("div", { className: "bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large p-4", children: /* @__PURE__ */ jsxs15("table", { className: "w-full text-md", children: [
3870
+ /* @__PURE__ */ jsx25("thead", { children: /* @__PURE__ */ jsxs15("tr", { className: "text-left text-catchup-gray-400", children: [
3871
+ /* @__PURE__ */ jsx25("th", { className: "pb-2 font-semibold", children: "LaTeX" }),
3872
+ /* @__PURE__ */ jsx25("th", { className: "pb-2 font-semibold" })
3873
+ ] }) }),
3874
+ /* @__PURE__ */ jsxs15("tbody", { className: "font-mono text-catchup-gray-400", children: [
3875
+ /* @__PURE__ */ jsxs15("tr", { children: [
3876
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\frac{a}{b}" }),
3877
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\frac{a}{b}$$" }) })
3878
+ ] }),
3879
+ /* @__PURE__ */ jsxs15("tr", { children: [
3880
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "x^{2}" }),
3881
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$x^{2}$$" }) })
3882
+ ] }),
3883
+ /* @__PURE__ */ jsxs15("tr", { children: [
3884
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "x_{i}" }),
3885
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$x_{i}$$" }) })
3886
+ ] }),
3887
+ /* @__PURE__ */ jsxs15("tr", { children: [
3888
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sqrt{x}" }),
3889
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sqrt{x}$$" }) })
3890
+ ] }),
3891
+ /* @__PURE__ */ jsxs15("tr", { children: [
3892
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sqrt[3]{x}" }),
3893
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\sqrt[3]{x}$$" }) })
3894
+ ] }),
3895
+ /* @__PURE__ */ jsxs15("tr", { children: [
3896
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sum_{i=1}^{n}" }),
3897
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(
3898
+ InputWithSpecialExpression_default,
3899
+ {
3900
+ value: "$$\\sum_{i=1}^{n}$$"
3901
+ }
3902
+ ) })
3903
+ ] }),
3904
+ /* @__PURE__ */ jsxs15("tr", { children: [
3905
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\int_{a}^{b}" }),
3906
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\int_{a}^{b}$$" }) })
3907
+ ] }),
3908
+ /* @__PURE__ */ jsxs15("tr", { children: [
3909
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\infty" }),
3910
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\infty$$" }) })
3911
+ ] }),
3912
+ /* @__PURE__ */ jsxs15("tr", { children: [
3913
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\pi" }),
3914
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\pi$$" }) })
3915
+ ] }),
3916
+ /* @__PURE__ */ jsxs15("tr", { children: [
3917
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\alpha \\beta \\gamma" }),
3918
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(
3919
+ InputWithSpecialExpression_default,
3920
+ {
3921
+ value: "$$\\alpha \\beta \\gamma$$"
3922
+ }
3923
+ ) })
3924
+ ] }),
3925
+ /* @__PURE__ */ jsxs15("tr", { children: [
3926
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\leq \\geq \\neq" }),
3927
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(
3928
+ InputWithSpecialExpression_default,
3929
+ {
3930
+ value: "$$\\leq \\geq \\neq$$"
3931
+ }
3932
+ ) })
3933
+ ] }),
3934
+ /* @__PURE__ */ jsxs15("tr", { children: [
3935
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\pm \\times \\div" }),
3936
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(
3937
+ InputWithSpecialExpression_default,
3938
+ {
3939
+ value: "$$\\pm \\times \\div$$"
3940
+ }
3941
+ ) })
3942
+ ] }),
3943
+ /* @__PURE__ */ jsxs15("tr", { children: [
3944
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\log_{a}{b}" }),
3945
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(InputWithSpecialExpression_default, { value: "$$\\log_{a}{b}$$" }) })
3946
+ ] }),
3947
+ /* @__PURE__ */ jsxs15("tr", { children: [
3948
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: "\\sin \\cos \\tan" }),
3949
+ /* @__PURE__ */ jsx25("td", { className: "py-1", children: /* @__PURE__ */ jsx25(
3950
+ InputWithSpecialExpression_default,
3951
+ {
3952
+ value: "$$\\sin \\cos \\tan$$"
3953
+ }
3954
+ ) })
3933
3955
  ] })
3934
3956
  ] })
3935
- ] })
3957
+ ] }) })
3936
3958
  ] }) })
3937
3959
  }
3938
3960
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -8,7 +8,6 @@ import { IOptionProps } from "../../properties/CommonProperties";
8
8
  import BaseModal from "../modals/BaseModal";
9
9
  import InputWithSpecialExpression from "../texts/InputWithSpecialExpression";
10
10
 
11
-
12
11
  const InputGroup = ({
13
12
  type,
14
13
  title,
@@ -47,7 +46,6 @@ const InputGroup = ({
47
46
  }
48
47
  }, [textAreaRef, value]);
49
48
 
50
-
51
49
  const retrieveNullableOptionList = () => {
52
50
  if (!optionList) return [];
53
51
  const currentOptionList = {
@@ -109,9 +107,6 @@ const InputGroup = ({
109
107
  {i18n.t("write_equation_in_double_dollars")}
110
108
  </p>
111
109
  <div className="bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large p-4">
112
- <p className="text-md font-semibold pl-2 py-1 text-catchup-blue-400">
113
- {i18n.t("latex_cheat_sheet")}
114
- </p>
115
110
  <table className="w-full text-md">
116
111
  <thead>
117
112
  <tr className="text-left text-catchup-gray-400">
@@ -122,59 +117,97 @@ const InputGroup = ({
122
117
  <tbody className="font-mono text-catchup-gray-400">
123
118
  <tr>
124
119
  <td className="py-1">{"\\frac{a}{b}"}</td>
125
- <td className="py-1"><InputWithSpecialExpression value={"$$\\frac{a}{b}$$"} /></td>
120
+ <td className="py-1">
121
+ <InputWithSpecialExpression value={"$$\\frac{a}{b}$$"} />
122
+ </td>
126
123
  </tr>
127
124
  <tr>
128
125
  <td className="py-1">{"x^{2}"}</td>
129
- <td className="py-1"><InputWithSpecialExpression value={"$$x^{2}$$"} /></td>
126
+ <td className="py-1">
127
+ <InputWithSpecialExpression value={"$$x^{2}$$"} />
128
+ </td>
130
129
  </tr>
131
130
  <tr>
132
131
  <td className="py-1">{"x_{i}"}</td>
133
- <td className="py-1"><InputWithSpecialExpression value={"$$x_{i}$$"} /></td>
132
+ <td className="py-1">
133
+ <InputWithSpecialExpression value={"$$x_{i}$$"} />
134
+ </td>
134
135
  </tr>
135
136
  <tr>
136
137
  <td className="py-1">{"\\sqrt{x}"}</td>
137
- <td className="py-1"><InputWithSpecialExpression value={"$$\\sqrt{x}$$"} /></td>
138
+ <td className="py-1">
139
+ <InputWithSpecialExpression value={"$$\\sqrt{x}$$"} />
140
+ </td>
138
141
  </tr>
139
142
  <tr>
140
143
  <td className="py-1">{"\\sqrt[3]{x}"}</td>
141
- <td className="py-1"><InputWithSpecialExpression value={"$$\\sqrt[3]{x}$$"} /></td>
144
+ <td className="py-1">
145
+ <InputWithSpecialExpression value={"$$\\sqrt[3]{x}$$"} />
146
+ </td>
142
147
  </tr>
143
148
  <tr>
144
149
  <td className="py-1">{"\\sum_{i=1}^{n}"}</td>
145
- <td className="py-1"><InputWithSpecialExpression value={"$$\\sum_{i=1}^{n}$$"} /></td>
150
+ <td className="py-1">
151
+ <InputWithSpecialExpression
152
+ value={"$$\\sum_{i=1}^{n}$$"}
153
+ />
154
+ </td>
146
155
  </tr>
147
156
  <tr>
148
157
  <td className="py-1">{"\\int_{a}^{b}"}</td>
149
- <td className="py-1"><InputWithSpecialExpression value={"$$\\int_{a}^{b}$$"} /></td>
158
+ <td className="py-1">
159
+ <InputWithSpecialExpression value={"$$\\int_{a}^{b}$$"} />
160
+ </td>
150
161
  </tr>
151
162
  <tr>
152
163
  <td className="py-1">{"\\infty"}</td>
153
- <td className="py-1"><InputWithSpecialExpression value={"$$\\infty$$"} /></td>
164
+ <td className="py-1">
165
+ <InputWithSpecialExpression value={"$$\\infty$$"} />
166
+ </td>
154
167
  </tr>
155
168
  <tr>
156
169
  <td className="py-1">{"\\pi"}</td>
157
- <td className="py-1"><InputWithSpecialExpression value={"$$\\pi$$"} /></td>
170
+ <td className="py-1">
171
+ <InputWithSpecialExpression value={"$$\\pi$$"} />
172
+ </td>
158
173
  </tr>
159
174
  <tr>
160
175
  <td className="py-1">{"\\alpha \\beta \\gamma"}</td>
161
- <td className="py-1"><InputWithSpecialExpression value={"$$\\alpha \\beta \\gamma$$"} /></td>
176
+ <td className="py-1">
177
+ <InputWithSpecialExpression
178
+ value={"$$\\alpha \\beta \\gamma$$"}
179
+ />
180
+ </td>
162
181
  </tr>
163
182
  <tr>
164
183
  <td className="py-1">{"\\leq \\geq \\neq"}</td>
165
- <td className="py-1"><InputWithSpecialExpression value={"$$\\leq \\geq \\neq$$"} /></td>
184
+ <td className="py-1">
185
+ <InputWithSpecialExpression
186
+ value={"$$\\leq \\geq \\neq$$"}
187
+ />
188
+ </td>
166
189
  </tr>
167
190
  <tr>
168
191
  <td className="py-1">{"\\pm \\times \\div"}</td>
169
- <td className="py-1"><InputWithSpecialExpression value={"$$\\pm \\times \\div$$"} /></td>
192
+ <td className="py-1">
193
+ <InputWithSpecialExpression
194
+ value={"$$\\pm \\times \\div$$"}
195
+ />
196
+ </td>
170
197
  </tr>
171
198
  <tr>
172
199
  <td className="py-1">{"\\log_{a}{b}"}</td>
173
- <td className="py-1"><InputWithSpecialExpression value={"$$\\log_{a}{b}$$"} /></td>
200
+ <td className="py-1">
201
+ <InputWithSpecialExpression value={"$$\\log_{a}{b}$$"} />
202
+ </td>
174
203
  </tr>
175
204
  <tr>
176
205
  <td className="py-1">{"\\sin \\cos \\tan"}</td>
177
- <td className="py-1"><InputWithSpecialExpression value={"$$\\sin \\cos \\tan$$"} /></td>
206
+ <td className="py-1">
207
+ <InputWithSpecialExpression
208
+ value={"$$\\sin \\cos \\tan$$"}
209
+ />
210
+ </td>
178
211
  </tr>
179
212
  </tbody>
180
213
  </table>