mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-26 08:26:51 +00:00
Update to esm, update deepslate (#244)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { hexId } from '../../Utils'
|
||||
import { hexId } from '../../Utils.js'
|
||||
|
||||
interface Props {
|
||||
label: string,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMemo, useState } from 'preact/hooks'
|
||||
import { Btn, BtnInput } from '..'
|
||||
import { Btn, BtnInput } from '../index.js'
|
||||
|
||||
interface Props {
|
||||
values?: string[],
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user