Просмотр исходного кода

Update exports

Ensure exports are consistent.
pull/1/head
TheoryOfNekomata 1 год назад
Родитель
Сommit
7c12563d7d
18 измененных файлов: 20 добавлений и 22 удалений
  1. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/blob/react/components/AudioMiniFilePreview/index.tsx
  2. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/freeform/react/components/MaskedTextInput/index.tsx
  3. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/freeform/react/components/MultilineTextInput/index.tsx
  4. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/freeform/react/components/TextInput/index.tsx
  5. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/information/react/components/Badge/index.tsx
  6. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/information/react/components/KeyValueTable/index.tsx
  7. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/navigation/react/components/LinkButton/index.tsx
  8. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/number/react/components/Slider/index.tsx
  9. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/number/react/components/Spinner/index.tsx
  10. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/ComboBox/index.tsx
  11. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx
  12. +1
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/MenuSelect/index.tsx
  13. +1
    -2
      packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleSwitch/index.tsx
  14. +1
    -2
      packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleTickBox/index.tsx
  15. +1
    -1
      packages/web-kitchensink-reactnext/src/packages/react-binary-data-canvas/index.tsx
  16. +3
    -3
      packages/web-kitchensink-reactnext/src/packages/react-refractor/index.tsx
  17. +1
    -1
      packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/SpectrogramCanvas/index.tsx
  18. +1
    -1
      packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/WaveformCanvas/index.tsx

+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/blob/react/components/AudioMiniFilePreview/index.tsx Просмотреть файл

@@ -7,7 +7,7 @@ import clsx from 'clsx';
import {SpectrogramCanvas, WaveformCanvas} from '@modal-soft/react-wavesurfer';
import {useEnhanced} from '@modal-soft/react-utils';

type AudioMiniFilePreviewDerivedElement = HTMLAudioElement;
export type AudioMiniFilePreviewDerivedElement = HTMLAudioElement;

export interface AudioMiniFilePreviewProps<F extends Partial<File> = Partial<File>> extends Omit<React.HTMLProps<AudioMiniFilePreviewDerivedElement>, 'controls'> {
file?: F;


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/freeform/react/components/MaskedTextInput/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';

type MaskedTextInputDerivedElement = HTMLInputElement;
export type MaskedTextInputDerivedElement = HTMLInputElement;

export interface MaskedTextInputProps extends Omit<React.HTMLProps<MaskedTextInputDerivedElement>, 'size' | 'type' | 'label'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/freeform/react/components/MultilineTextInput/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';

type MultilineTextInputDerivedElement = HTMLTextAreaElement;
export type MultilineTextInputDerivedElement = HTMLTextAreaElement;

export interface MultilineTextInputProps extends Omit<React.HTMLProps<MultilineTextInputDerivedElement>, 'size' | 'style' | 'label'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/freeform/react/components/TextInput/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';

type TextInputDerivedElement = HTMLInputElement;
export type TextInputDerivedElement = HTMLInputElement;

export interface TextInputProps extends Omit<React.HTMLProps<TextInputDerivedElement>, 'size' | 'type' | 'style' | 'label' | 'list'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/information/react/components/Badge/index.tsx Просмотреть файл

@@ -1,7 +1,7 @@
import * as React from 'react';
import clsx from 'clsx';

type BadgeDerivedElement = HTMLSpanElement;
export type BadgeDerivedElement = HTMLSpanElement;

export interface BadgeProps extends React.HTMLProps<BadgeDerivedElement> {
rounded?: boolean;


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/information/react/components/KeyValueTable/index.tsx Просмотреть файл

@@ -1,7 +1,7 @@
import * as React from 'react';
import clsx from 'clsx';

type KeyValueTableDerivedElement = HTMLDListElement;
export type KeyValueTableDerivedElement = HTMLDListElement;

interface KeyValueProperty {
key: string;


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/navigation/react/components/LinkButton/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import clsx from 'clsx';
import * as ButtonBase from '@tesseract-design/web-base-button';

type LinkButtonDerivedElement = HTMLAnchorElement;
export type LinkButtonDerivedElement = HTMLAnchorElement;

export interface LinkButtonProps extends Omit<React.HTMLProps<LinkButtonDerivedElement>, 'size'> {
block?: boolean;


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/number/react/components/Slider/index.tsx Просмотреть файл

@@ -36,7 +36,7 @@ const filterOptions = (children: React.ReactNode): React.ReactNode => {

export type SliderOrientation = 'horizontal' | 'vertical';

type SliderDerivedElement = HTMLInputElement;
export type SliderDerivedElement = HTMLInputElement;

export interface SliderProps extends Omit<React.HTMLProps<HTMLInputElement>, 'type'> {
orient?: SliderOrientation;


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/number/react/components/Spinner/index.tsx Просмотреть файл

@@ -3,7 +3,7 @@ import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';
import styles from './style.module.css';

type SpinnerDerivedElement = HTMLInputElement;
export type SpinnerDerivedElement = HTMLInputElement;

export interface SpinnerProps extends Omit<React.HTMLProps<SpinnerDerivedElement>, 'size' | 'type' | 'label'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/ComboBox/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';

type ComboBoxDerivedElement = HTMLInputElement;
export type ComboBoxDerivedElement = HTMLInputElement;

export interface ComboBoxProps extends Omit<React.HTMLProps<ComboBoxDerivedElement>, 'size' | 'type' | 'style' | 'label' | 'list'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/DropdownSelect/index.tsx Просмотреть файл

@@ -4,7 +4,7 @@ import * as SelectControlBase from '@tesseract-design/web-base-selectcontrol';
import clsx from 'clsx';
import {RenderOptions} from '@/categories/option/react';

type DropdownSelectDerivedElement = HTMLSelectElement;
export type DropdownSelectDerivedElement = HTMLSelectElement;

export interface DropdownSelectProps extends Omit<React.HTMLProps<DropdownSelectDerivedElement>, 'size' | 'type' | 'style' | 'label' | 'list'> {
/**


+ 1
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/MenuSelect/index.tsx Просмотреть файл

@@ -2,7 +2,7 @@ import * as React from 'react';
import * as TextControlBase from '@tesseract-design/web-base-textcontrol';
import clsx from 'clsx';

type MenuSelectDerivedElement = HTMLSelectElement;
export type MenuSelectDerivedElement = HTMLSelectElement;

export interface MenuSelectProps extends Omit<React.HTMLProps<MenuSelectDerivedElement>, 'size' | 'style' | 'label'> {
/**


+ 1
- 2
packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleSwitch/index.tsx Просмотреть файл

@@ -1,7 +1,6 @@
import * as React from 'react';
import clsx from 'clsx';
import styles from './style.module.css';
import {ToggleButtonDerivedElement} from '@/categories/option/react';

export type ToggleSwitchDerivedElement = HTMLInputElement;

@@ -26,7 +25,7 @@ export const ToggleSwitch = React.forwardRef<ToggleSwitchDerivedElement, ToggleS
indeterminate = false,
...etcProps
}, forwardedRef) => {
const defaultRef = React.useRef<ToggleButtonDerivedElement>(null);
const defaultRef = React.useRef<ToggleSwitchDerivedElement>(null);
const ref = forwardedRef ?? defaultRef;
const defaultId = React.useId();
const id = idProp ?? defaultId;


+ 1
- 2
packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleTickBox/index.tsx Просмотреть файл

@@ -1,7 +1,6 @@
import * as React from 'react';
import clsx from 'clsx';
import styles from './style.module.css';
import {ToggleButtonDerivedElement} from '@/categories/option/react';

export type ToggleTickBoxDerivedElement = HTMLInputElement;

@@ -23,7 +22,7 @@ export const ToggleTickBox = React.forwardRef<ToggleTickBoxDerivedElement, Toggl
indeterminate = false,
...etcProps
}, forwardedRef) => {
const defaultRef = React.useRef<ToggleButtonDerivedElement>(null);
const defaultRef = React.useRef<ToggleTickBoxDerivedElement>(null);
const ref = forwardedRef ?? defaultRef;
const defaultId = React.useId();
const id = idProp ?? defaultId;


+ 1
- 1
packages/web-kitchensink-reactnext/src/packages/react-binary-data-canvas/index.tsx Просмотреть файл

@@ -1,7 +1,7 @@
import * as React from 'react';
import styles from './style.module.css';

type BinaryDataCanvasDerivedElement = HTMLDivElement;
export type BinaryDataCanvasDerivedElement = HTMLDivElement;

export interface BinaryDataCanvasProps extends Omit<React.HTMLProps<BinaryDataCanvasDerivedElement>, 'children' | 'headers'> {
arrayBuffer?: ArrayBuffer;


+ 3
- 3
packages/web-kitchensink-reactnext/src/packages/react-refractor/index.tsx Просмотреть файл

@@ -3,9 +3,9 @@ import RefractorCore from 'react-refractor/all';
import styles from './style.module.css';
import {Marker} from 'react-refractor';

type PrismDerivedElement = HTMLDivElement;
export type RefractorDerivedElement = HTMLDivElement;

export interface PrismProps extends Omit<React.HTMLProps<PrismDerivedElement>, 'children'> {
export interface RefractorProps extends Omit<React.HTMLProps<RefractorDerivedElement>, 'children'> {
code?: string;
language?: string;
lineNumbers?: boolean;
@@ -16,7 +16,7 @@ export interface PrismProps extends Omit<React.HTMLProps<PrismDerivedElement>, '
markers?: Marker[];
}

export const Refractor = React.forwardRef<PrismDerivedElement, PrismProps>(({
export const Refractor = React.forwardRef<RefractorDerivedElement, RefractorProps>(({
code: codeRaw = '',
language = 'plain',
lineNumbers = false,


+ 1
- 1
packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/SpectrogramCanvas/index.tsx Просмотреть файл

@@ -3,7 +3,7 @@ import {WaveSurferOptions} from 'wavesurfer.js';
import clsx from 'clsx';
import {getFormValues} from '@theoryofnekomata/formxtra';

type SpectrogramCanvasDerivedElement = HTMLDivElement;
export type SpectrogramCanvasDerivedElement = HTMLDivElement;

export interface SpectrogramCanvasProps
extends React.HTMLProps<SpectrogramCanvasDerivedElement>,


+ 1
- 1
packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/WaveformCanvas/index.tsx Просмотреть файл

@@ -3,7 +3,7 @@ import {WaveSurferOptions} from 'wavesurfer.js';
import clsx from 'clsx';
import {getFormValues} from '@theoryofnekomata/formxtra';

type WaveformCanvasDerivedElement = HTMLDivElement;
export type WaveformCanvasDerivedElement = HTMLDivElement;

export interface WaveformCanvasProps
extends React.HTMLProps<WaveformCanvasDerivedElement>,


Загрузка…
Отмена
Сохранить