catchup-library-web 2.6.25 → 2.7.1

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.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { MathfieldElement } from 'mathlive';
4
3
  export { default as i18n } from 'i18next';
5
4
 
6
5
  interface IProgressBarProperties {
@@ -322,38 +321,6 @@ interface IPageTravelGroupProps {
322
321
  setImageReady: (e: any) => void;
323
322
  }
324
323
 
325
- declare global {
326
- namespace JSX {
327
- interface IntrinsicElements {
328
- "math-field": React.DetailedHTMLProps<React.HTMLAttributes<MathfieldElement>, MathfieldElement> & {
329
- value?: string;
330
- disabled?: boolean;
331
- readonly?: boolean;
332
- "virtual-keyboard-mode"?: "manual" | "onfocus" | "off";
333
- "virtual-keyboard-theme"?: "material" | "apple";
334
- "math-mode-space"?: string;
335
- "letter-shape-style"?: "tex" | "french" | "iso" | "upright" | "auto";
336
- "min-font-scale"?: number;
337
- "max-font-scale"?: number;
338
- "smart-fence"?: boolean;
339
- "smart-mode"?: boolean;
340
- "smart-superscript"?: boolean;
341
- "inline-shortcut-timeout"?: number;
342
- "keybinding-mode"?: "default" | "vim" | "emacs";
343
- "speech-engine"?: "local" | "amazon" | "google";
344
- "speech-engine-voice"?: string;
345
- "speech-engine-rate"?: string;
346
- "read-only"?: boolean;
347
- "remove-extraneous-parentheses"?: boolean;
348
- "script-depth"?: number;
349
- placeholder?: string;
350
- "default-mode"?: "math" | "text";
351
- "fonts-directory"?: string;
352
- "sounds-directory"?: string;
353
- };
354
- }
355
- }
356
- }
357
324
  declare const InputGroup: ({ type, title, defaultValue, placeholder, value, minValue, maxValue, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, checked, description, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
358
325
 
359
326
  declare const LeftTextRightInputGroup: ({ type, title, value, optionList, onChange, disabled, errorText, }: ILeftTextRightInputGroupProps) => react_jsx_runtime.JSX.Element;
@@ -446,7 +413,7 @@ declare const InfoWithText: (props: IInfoWithText) => react_jsx_runtime.JSX.Elem
446
413
 
447
414
  interface IInputWithSpecialExpressionProps {
448
415
  value: string;
449
- showSpecialOnly: boolean;
416
+ showSpecialOnly?: boolean;
450
417
  }
451
418
 
452
419
  declare const InputWithSpecialExpression: ({ value, showSpecialOnly, }: IInputWithSpecialExpressionProps) => react_jsx_runtime.JSX.Element | null;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { MathfieldElement } from 'mathlive';
4
3
  export { default as i18n } from 'i18next';
5
4
 
6
5
  interface IProgressBarProperties {
@@ -322,38 +321,6 @@ interface IPageTravelGroupProps {
322
321
  setImageReady: (e: any) => void;
323
322
  }
324
323
 
325
- declare global {
326
- namespace JSX {
327
- interface IntrinsicElements {
328
- "math-field": React.DetailedHTMLProps<React.HTMLAttributes<MathfieldElement>, MathfieldElement> & {
329
- value?: string;
330
- disabled?: boolean;
331
- readonly?: boolean;
332
- "virtual-keyboard-mode"?: "manual" | "onfocus" | "off";
333
- "virtual-keyboard-theme"?: "material" | "apple";
334
- "math-mode-space"?: string;
335
- "letter-shape-style"?: "tex" | "french" | "iso" | "upright" | "auto";
336
- "min-font-scale"?: number;
337
- "max-font-scale"?: number;
338
- "smart-fence"?: boolean;
339
- "smart-mode"?: boolean;
340
- "smart-superscript"?: boolean;
341
- "inline-shortcut-timeout"?: number;
342
- "keybinding-mode"?: "default" | "vim" | "emacs";
343
- "speech-engine"?: "local" | "amazon" | "google";
344
- "speech-engine-voice"?: string;
345
- "speech-engine-rate"?: string;
346
- "read-only"?: boolean;
347
- "remove-extraneous-parentheses"?: boolean;
348
- "script-depth"?: number;
349
- placeholder?: string;
350
- "default-mode"?: "math" | "text";
351
- "fonts-directory"?: string;
352
- "sounds-directory"?: string;
353
- };
354
- }
355
- }
356
- }
357
324
  declare const InputGroup: ({ type, title, defaultValue, placeholder, value, minValue, maxValue, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, checked, description, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
358
325
 
359
326
  declare const LeftTextRightInputGroup: ({ type, title, value, optionList, onChange, disabled, errorText, }: ILeftTextRightInputGroupProps) => react_jsx_runtime.JSX.Element;
@@ -446,7 +413,7 @@ declare const InfoWithText: (props: IInfoWithText) => react_jsx_runtime.JSX.Elem
446
413
 
447
414
  interface IInputWithSpecialExpressionProps {
448
415
  value: string;
449
- showSpecialOnly: boolean;
416
+ showSpecialOnly?: boolean;
450
417
  }
451
418
 
452
419
  declare const InputWithSpecialExpression: ({ value, showSpecialOnly, }: IInputWithSpecialExpressionProps) => react_jsx_runtime.JSX.Element | null;