Update to esm, update deepslate (#244)

This commit is contained in:
Misode
2022-06-16 00:58:14 +02:00
committed by GitHub
parent cbef6ef41b
commit 561cd341a1
98 changed files with 1243 additions and 1104 deletions

View File

@@ -1,4 +1,4 @@
import { hexId } from '../../Utils'
import { hexId } from '../../Utils.js'
interface Props {
label: string,

View File

@@ -1,7 +1,7 @@
import type { JSX } from 'preact'
import { useEffect, useRef } from 'preact/hooks'
import type { JSXInternal } from 'preact/src/jsx'
type InputProps = JSXInternal.HTMLAttributes<HTMLInputElement>
type InputProps = JSX.HTMLAttributes<HTMLInputElement>
type BaseInputProps<T> = Omit<InputProps, 'onChange' | 'type'> & {
onChange?: (value: T) => unknown,

View File

@@ -1,5 +1,5 @@
import { useMemo, useState } from 'preact/hooks'
import { Btn, BtnInput } from '..'
import { Btn, BtnInput } from '../index.js'
interface Props {
values?: string[],

View File

@@ -1,3 +1,3 @@
export * from './Checkbox'
export * from './Input'
export * from './SearchList'
export * from './Checkbox.js'
export * from './Input.js'
export * from './SearchList.js'