coles-solid-library 0.0.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/components/Button/Button.d.ts +15 -0
- package/dist/components/Carosel/Carosel.d.ts +15 -0
- package/dist/components/Chip/Chip.d.ts +12 -0
- package/dist/components/Chipbar/chipbar.d.ts +13 -0
- package/dist/components/ComponentBody/body.component.d.ts +10 -0
- package/dist/components/FormField/formField.d.ts +13 -0
- package/dist/components/FormField/formProvider.d.ts +22 -0
- package/dist/components/Input/Input.d.ts +13 -0
- package/dist/components/Select/option.component.d.ts +9 -0
- package/dist/components/Select/select.component.d.ts +27 -0
- package/dist/components/Snackbar/snackbar.d.ts +11 -0
- package/dist/components/Table/innerTable.d.ts +30 -0
- package/dist/components/Table/rowProvider.d.ts +15 -0
- package/dist/components/Table/table.d.ts +15 -0
- package/dist/components/Table/tableProvider.d.ts +24 -0
- package/dist/components/Table2/table.d.ts +13 -0
- package/dist/components/Tabs/tab.d.ts +8 -0
- package/dist/components/Tabs/tabs.d.ts +18 -0
- package/dist/components/TextArea/TextArea.d.ts +15 -0
- package/dist/components/cssmodule.d.ts +70 -0
- package/dist/components/expansion/expansion.d.ts +18 -0
- package/dist/components/popup/popup.component.d.ts +34 -0
- package/dist/components/svgs/arrows.d.ts +6 -0
- package/dist/components/svgs/barMenu.d.ts +3 -0
- package/dist/components/svgs/calulator.d.ts +5 -0
- package/dist/components/svgs/camera.d.ts +6 -0
- package/dist/components/svgs/eye.d.ts +4 -0
- package/dist/components/svgs/gear.d.ts +6 -0
- package/dist/components/svgs/pencil.d.ts +4 -0
- package/dist/components/svgs/skinnySnowman.d.ts +6 -0
- package/dist/index.cjs.js +1866 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.esm.js +1848 -0
- package/dist/styles.css +752 -0
- package/dist/tools.d.ts +11 -0
- package/package.json +38 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, JSX } from "solid-js";
|
|
2
|
+
import "./Button.scss";
|
|
3
|
+
export interface MenuButton {
|
|
4
|
+
name: string;
|
|
5
|
+
condition?: () => boolean;
|
|
6
|
+
action: () => void;
|
|
7
|
+
}
|
|
8
|
+
interface Props extends JSX.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
9
|
+
onClick?: (e: MouseEvent) => unknown;
|
|
10
|
+
transparent?: boolean;
|
|
11
|
+
styleType?: "primary" | "accent" | "tertiary";
|
|
12
|
+
}
|
|
13
|
+
declare const Button: Component<Props>;
|
|
14
|
+
export { Button };
|
|
15
|
+
export default Button;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Accessor, Component, JSX, Setter } from "solid-js";
|
|
2
|
+
import "./Carosel.module.scss";
|
|
3
|
+
export interface CarouselElement {
|
|
4
|
+
name: string;
|
|
5
|
+
element: JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
interface CarouselProps {
|
|
8
|
+
elements: CarouselElement[];
|
|
9
|
+
startingIndex?: number;
|
|
10
|
+
notFoundName?: string;
|
|
11
|
+
currentIndex?: [Accessor<number>, Setter<number>];
|
|
12
|
+
}
|
|
13
|
+
declare const Carousel: Component<CarouselProps>;
|
|
14
|
+
export { Carousel };
|
|
15
|
+
export default Carousel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from "solid-js";
|
|
2
|
+
import "./Chip.module.scss";
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
key?: string;
|
|
6
|
+
value: string;
|
|
7
|
+
remove?: () => any;
|
|
8
|
+
onClick?: (e: MouseEvent) => any;
|
|
9
|
+
}
|
|
10
|
+
declare const Chip: Component<Props>;
|
|
11
|
+
export { Chip };
|
|
12
|
+
export default Chip;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Accessor, Component, Setter } from "solid-js";
|
|
2
|
+
import "./chipbar.module.scss";
|
|
3
|
+
export interface ChipType {
|
|
4
|
+
key: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
chips: Accessor<ChipType[]>;
|
|
9
|
+
setChips?: Setter<ChipType[]>;
|
|
10
|
+
}
|
|
11
|
+
declare const Chipbar: Component<Props>;
|
|
12
|
+
export { Chipbar };
|
|
13
|
+
export default Chipbar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Component, JSX } from "solid-js";
|
|
2
|
+
import './body.module.scss';
|
|
3
|
+
import { CSSModuleClasses } from "../cssmodule";
|
|
4
|
+
interface Props extends JSX.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
children: JSX.Element | JSX.Element[];
|
|
6
|
+
class?: CSSModuleClasses[string];
|
|
7
|
+
style?: 'primary' | 'accent' | 'tertiary';
|
|
8
|
+
}
|
|
9
|
+
export declare const Body: Component<Props>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, JSX } from "solid-js";
|
|
2
|
+
import "./formfield.module.scss";
|
|
3
|
+
interface Props extends JSX.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
4
|
+
children: JSX.Element;
|
|
5
|
+
styleType?: "primary" | "accent" | "tertiary";
|
|
6
|
+
name: string;
|
|
7
|
+
class?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
legendClass?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const FormField: Component<Props>;
|
|
12
|
+
export { FormField };
|
|
13
|
+
export default FormField;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Accessor, JSX, Component, Setter } from "solid-js";
|
|
2
|
+
interface formFieldContext {
|
|
3
|
+
getName: Accessor<string>;
|
|
4
|
+
setName: Setter<string>;
|
|
5
|
+
getTextInside: Accessor<boolean>;
|
|
6
|
+
setTextInside: Setter<boolean>;
|
|
7
|
+
getFocused: Accessor<boolean>;
|
|
8
|
+
setFocused: Setter<boolean>;
|
|
9
|
+
getValue: Accessor<string>;
|
|
10
|
+
setValue: Setter<string>;
|
|
11
|
+
getFieldType: Accessor<string>;
|
|
12
|
+
setFieldType: Setter<string>;
|
|
13
|
+
}
|
|
14
|
+
interface ProviderProps {
|
|
15
|
+
children: JSX.Element;
|
|
16
|
+
name?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const Provider: Component<ProviderProps>;
|
|
21
|
+
export declare function useFormProvider(): formFieldContext;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, JSX } from "solid-js";
|
|
2
|
+
import "./input.module.scss";
|
|
3
|
+
interface InputProps extends JSX.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
transparent?: boolean;
|
|
6
|
+
onChange?: (e: Event & {
|
|
7
|
+
currentTarget: HTMLInputElement;
|
|
8
|
+
target: HTMLInputElement;
|
|
9
|
+
}) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const Input: Component<InputProps>;
|
|
12
|
+
export { Input };
|
|
13
|
+
export default Input;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { JSX } from "solid-js";
|
|
2
|
+
import './selectStyles.scss';
|
|
3
|
+
interface SelectContextValue<T> {
|
|
4
|
+
isSelected: (val: T) => boolean;
|
|
5
|
+
selectValue: (val: T) => void;
|
|
6
|
+
registerOption?: (val: T, label: JSX.Element) => void;
|
|
7
|
+
unregisterOption?: (val: T) => void;
|
|
8
|
+
selectRef?: (val: HTMLDivElement | undefined) => HTMLDivElement | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare const SelectContext: import("solid-js").Context<SelectContextValue<any> | undefined>;
|
|
11
|
+
interface SelectProps<T = string, K = boolean> {
|
|
12
|
+
multiple?: K;
|
|
13
|
+
value: T;
|
|
14
|
+
transparent?: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
defaultValue?: T;
|
|
17
|
+
onChange: (value: T) => void;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
renderValue?: (selected: T) => JSX.Element;
|
|
21
|
+
class?: string;
|
|
22
|
+
dropdownClass?: string;
|
|
23
|
+
children: JSX.Element;
|
|
24
|
+
style?: "primary" | "accent" | "tertiary";
|
|
25
|
+
}
|
|
26
|
+
export declare function Select<T, K extends boolean = false>(props: SelectProps<(K extends true ? T[] : T), K>): JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component } from "solid-js";
|
|
2
|
+
import "./snackbar.module.scss";
|
|
3
|
+
export interface Snackbar {
|
|
4
|
+
message: string;
|
|
5
|
+
severity?: "error" | "warning" | "info" | "success";
|
|
6
|
+
closeTimeout?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const addSnackbar: (snack: Snackbar) => void;
|
|
9
|
+
declare const SnackbarController: Component;
|
|
10
|
+
export { addSnackbar, SnackbarController };
|
|
11
|
+
export default addSnackbar;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { JSX } from "solid-js";
|
|
2
|
+
import { ColumnState } from "./table";
|
|
3
|
+
interface ColumnProps<T> {
|
|
4
|
+
children: [JSX.Element, JSX.Element, JSX.Element?];
|
|
5
|
+
name: string;
|
|
6
|
+
multipleRows?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const Column: <T>(props: ColumnProps<T>) => JSX.Element;
|
|
9
|
+
interface HeaderProps extends JSX.HTMLAttributes<HTMLTableHeaderCellElement> {
|
|
10
|
+
children: JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
declare const Header: <T>(props: HeaderProps) => JSX.Element;
|
|
13
|
+
interface CellProps<T> {
|
|
14
|
+
children: ColumnState<T>;
|
|
15
|
+
classes?: string;
|
|
16
|
+
style?: JSX.CSSProperties;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}
|
|
19
|
+
declare const Cell: <T = any>(props: CellProps<T>) => JSX.Element;
|
|
20
|
+
interface RowProps extends JSX.HTMLAttributes<HTMLTableRowElement> {
|
|
21
|
+
}
|
|
22
|
+
declare const Row: <T>(props: RowProps) => JSX.Element;
|
|
23
|
+
interface DropRowProps<T> {
|
|
24
|
+
children: ColumnState<T>;
|
|
25
|
+
classes?: string;
|
|
26
|
+
style?: JSX.CSSProperties;
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}
|
|
29
|
+
declare const SecondRow: <T>(props: DropRowProps<T>) => JSX.Element;
|
|
30
|
+
export { Column, Header, Cell, SecondRow, Row };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Accessor, JSX, Setter } from "solid-js";
|
|
2
|
+
interface RowContext {
|
|
3
|
+
getRowI: Accessor<number>;
|
|
4
|
+
setRowI: Setter<number>;
|
|
5
|
+
getRowItem: Accessor<any>;
|
|
6
|
+
setRowItem: Setter<any>;
|
|
7
|
+
}
|
|
8
|
+
interface RowProviderProps<T> {
|
|
9
|
+
children: JSX.Element;
|
|
10
|
+
rowI: number;
|
|
11
|
+
rowItem: T;
|
|
12
|
+
}
|
|
13
|
+
export declare const RowProvider: <T>(props: RowProviderProps<T>) => JSX.Element;
|
|
14
|
+
export declare function useRowContext(): RowContext | undefined;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSX, type Accessor } from "solid-js";
|
|
2
|
+
export type ColumnState<T> = (item: T, index: number) => JSX.Element;
|
|
3
|
+
interface TableProps<T> extends JSX.HTMLAttributes<HTMLTableElement> {
|
|
4
|
+
data: Accessor<T[]>;
|
|
5
|
+
columns: string[];
|
|
6
|
+
children?: JSX.Element;
|
|
7
|
+
dropdown?: boolean;
|
|
8
|
+
dropdownArrow?: {
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const Table: <T>(props: TableProps<T>) => JSX.Element;
|
|
14
|
+
export { Table };
|
|
15
|
+
export default Table;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Accessor, Setter, JSX } from "solid-js";
|
|
2
|
+
type StateType<T = any> = T;
|
|
3
|
+
export interface TableState<T = any> {
|
|
4
|
+
headers: JSX.Element[];
|
|
5
|
+
rowTransform: ((item: T, index: number) => JSX.Element)[];
|
|
6
|
+
dropTransform?: ((item: T, index: number) => JSX.Element);
|
|
7
|
+
cellProps?: JSX.HTMLAttributes<HTMLTableDataCellElement>[];
|
|
8
|
+
rowProps?: JSX.HTMLAttributes<HTMLTableRowElement>;
|
|
9
|
+
dropProps?: JSX.HTMLAttributes<HTMLTableRowElement>;
|
|
10
|
+
currentColumns: string[];
|
|
11
|
+
multipleRows?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface TableContext<T = any> {
|
|
14
|
+
tableState: Accessor<TableState<StateType<T>>>;
|
|
15
|
+
setTableState: Setter<TableState<StateType<T>>>;
|
|
16
|
+
}
|
|
17
|
+
interface TableProviderProps<T = any> {
|
|
18
|
+
children: JSX.Element;
|
|
19
|
+
value: TableState<StateType<T>>;
|
|
20
|
+
}
|
|
21
|
+
export declare const TableProvider: <T>(props: TableProviderProps<T>) => JSX.Element;
|
|
22
|
+
export declare function getTableContext<T>(): TableContext<T>;
|
|
23
|
+
export type ColumnState<T> = (item: T, index: number) => JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSX, type Accessor, type Setter } from "solid-js";
|
|
2
|
+
interface ProviderProps<T> {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
value: T;
|
|
5
|
+
}
|
|
6
|
+
type StateType<T = any> = T;
|
|
7
|
+
export declare const TableProvider: <T>(props: ProviderProps<[Accessor<TableState<StateType<T>>>, Setter<TableState<StateType<T>>>]>) => JSX.Element;
|
|
8
|
+
interface TableState<T> {
|
|
9
|
+
data: T[];
|
|
10
|
+
headers: any[];
|
|
11
|
+
columns: any[];
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Accessor, Component, JSX, Setter } from "solid-js";
|
|
2
|
+
import { Tab } from "./tab";
|
|
3
|
+
import "./tabs.module.scss";
|
|
4
|
+
interface ITabStore {
|
|
5
|
+
[name: string]: JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export declare function getTabContext(): {
|
|
8
|
+
tabs: Accessor<ITabStore>;
|
|
9
|
+
setTabs: Setter<ITabStore>;
|
|
10
|
+
};
|
|
11
|
+
declare const Tabs: Component<Props>;
|
|
12
|
+
interface Props {
|
|
13
|
+
children: JSX.Element;
|
|
14
|
+
styleType?: "primary" | "accent" | "tertiary";
|
|
15
|
+
transparent?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export { Tab, Tabs };
|
|
18
|
+
export default Tabs;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Accessor, Component, JSX, Setter } from "solid-js";
|
|
2
|
+
import './TextArea.module.scss';
|
|
3
|
+
interface Props extends JSX.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
|
+
text: Accessor<string>;
|
|
5
|
+
setText: Setter<string>;
|
|
6
|
+
class?: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
transparent?: boolean;
|
|
9
|
+
minSize?: {
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare const TextArea: Component<Props>;
|
|
15
|
+
export default TextArea;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export interface CSSModuleClasses {
|
|
2
|
+
color?: string;
|
|
3
|
+
background?: string;
|
|
4
|
+
border?: string;
|
|
5
|
+
margin?: string;
|
|
6
|
+
padding?: string;
|
|
7
|
+
display?: string;
|
|
8
|
+
position?: string;
|
|
9
|
+
overflow?: string;
|
|
10
|
+
width?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
top?: string;
|
|
13
|
+
right?: string;
|
|
14
|
+
bottom?: string;
|
|
15
|
+
left?: string;
|
|
16
|
+
zIndex?: string;
|
|
17
|
+
borderRadius?: string;
|
|
18
|
+
boxShadow?: string;
|
|
19
|
+
transition?: string;
|
|
20
|
+
transform?: string;
|
|
21
|
+
cursor?: string;
|
|
22
|
+
userSelect?: string;
|
|
23
|
+
pointerEvents?: string;
|
|
24
|
+
textAlign?: string;
|
|
25
|
+
fontSize?: string;
|
|
26
|
+
fontWeight?: string;
|
|
27
|
+
lineHeight?: string;
|
|
28
|
+
letterSpacing?: string;
|
|
29
|
+
textTransform?: string;
|
|
30
|
+
textDecoration?: string;
|
|
31
|
+
whiteSpace?: string;
|
|
32
|
+
wordBreak?: string;
|
|
33
|
+
wordWrap?: string;
|
|
34
|
+
listStyleType?: string;
|
|
35
|
+
listStylePosition?: string;
|
|
36
|
+
listStyleImage?: string;
|
|
37
|
+
opacity?: string;
|
|
38
|
+
filter?: string;
|
|
39
|
+
backdropFilter?: string;
|
|
40
|
+
visibility?: string;
|
|
41
|
+
verticalAlign?: string;
|
|
42
|
+
flex?: string;
|
|
43
|
+
flexGrow?: string;
|
|
44
|
+
flexShrink?: string;
|
|
45
|
+
flexBasis?: string;
|
|
46
|
+
flexDirection?: string;
|
|
47
|
+
flexWrap?: string;
|
|
48
|
+
justifyContent?: string;
|
|
49
|
+
alignItems?: string;
|
|
50
|
+
alignContent?: string;
|
|
51
|
+
order?: string;
|
|
52
|
+
gridTemplateColumns?: string;
|
|
53
|
+
gridTemplateRows?: string;
|
|
54
|
+
gridTemplateAreas?: string;
|
|
55
|
+
gridTemplate?: string;
|
|
56
|
+
gridAutoColumns?: string;
|
|
57
|
+
gridAutoRows?: string;
|
|
58
|
+
gridAutoFlow?: string;
|
|
59
|
+
grid?: string;
|
|
60
|
+
gridArea?: string;
|
|
61
|
+
gridColumnStart?: string;
|
|
62
|
+
gridColumnEnd?: string;
|
|
63
|
+
gridRowStart?: string;
|
|
64
|
+
gridRowEnd?: string;
|
|
65
|
+
gridColumn?: string;
|
|
66
|
+
gridRow?: string;
|
|
67
|
+
justifySelf?: string;
|
|
68
|
+
alignSelf?: string;
|
|
69
|
+
[key: string]: string | undefined;
|
|
70
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Component, JSX } from "solid-js";
|
|
2
|
+
import './expansion.module.scss';
|
|
3
|
+
type Props = {
|
|
4
|
+
children: [JSX.Element, JSX.Element];
|
|
5
|
+
styles?: {
|
|
6
|
+
readonly [key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
extraLogic?: () => void;
|
|
9
|
+
startOpen?: boolean;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
arrowSize?: {
|
|
12
|
+
width: string;
|
|
13
|
+
height: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const ExpansionPanel: Component<Props>;
|
|
17
|
+
export { ExpansionPanel };
|
|
18
|
+
export default ExpansionPanel;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Accessor, Component, JSX, Setter } from "solid-js";
|
|
2
|
+
type Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
children?: JSX.Element;
|
|
5
|
+
width?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
translate?: {
|
|
8
|
+
x?: string;
|
|
9
|
+
y?: string;
|
|
10
|
+
};
|
|
11
|
+
backgroundClick?: [Accessor<boolean>, Setter<boolean>];
|
|
12
|
+
setClose?: Setter<boolean>;
|
|
13
|
+
ref?: Accessor<HTMLDivElement | undefined>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @param title {string} {string} - The title of the modal.
|
|
18
|
+
* @param width {string} {string} - The css width of the modal.
|
|
19
|
+
* @param maxWidth {string} {string} - The optional css max-width of the modal.
|
|
20
|
+
* @param height {string} {string} - The css height of the modal.
|
|
21
|
+
* @param maxHeight {string} {string} - The optional css max-height of the modal.
|
|
22
|
+
* @param translate {x{x: string, y: string} - Override the default x and y coordinates of the modal.
|
|
23
|
+
* @param backgroundClick [Accessor <bool>, Setter <bool>] - A signal and setter for enabling the background click.
|
|
24
|
+
* @returns - A Modal component.
|
|
25
|
+
*/
|
|
26
|
+
declare const Modal: Component<Props>;
|
|
27
|
+
declare module "solid-js" {
|
|
28
|
+
namespace JSX {
|
|
29
|
+
interface Directives {
|
|
30
|
+
clickOutside: () => void;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export default Modal;
|