@matthiaskrijgsman/mat-ui 0.0.2 → 0.0.4
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/Badge.d.ts +1 -1
- package/dist/components/Modal.d.ts +4 -2
- package/dist/components/{InputPassword.d.ts → inputs/InputPassword.d.ts} +1 -1
- package/dist/hooks/use-dismiss.d.ts +1 -0
- package/dist/index.d.ts +33 -11
- package/dist/index.js +5545 -4343
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +68 -19
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +19 -19
- package/package.json +1 -1
- /package/dist/components/{Button.d.ts → button/Button.d.ts} +0 -0
- /package/dist/components/{ButtonIconRound.d.ts → button-icon-round/ButtonIconRound.d.ts} +0 -0
- /package/dist/components/{ButtonIconSquare.d.ts → button-icon-square/ButtonIconSquare.d.ts} +0 -0
- /package/dist/components/{Input.d.ts → inputs/Input.d.ts} +0 -0
- /package/dist/components/{InputCheck.d.ts → inputs/InputCheck.d.ts} +0 -0
- /package/dist/components/{InputDescription.d.ts → inputs/InputDescription.d.ts} +0 -0
- /package/dist/components/{InputError.d.ts → inputs/InputError.d.ts} +0 -0
- /package/dist/components/{InputErrorIcon.d.ts → inputs/InputErrorIcon.d.ts} +0 -0
- /package/dist/components/{InputIconButton.d.ts → inputs/InputIconButton.d.ts} +0 -0
- /package/dist/components/{InputIconButtonTray.d.ts → inputs/InputIconButtonTray.d.ts} +0 -0
- /package/dist/components/{InputLabel.d.ts → inputs/InputLabel.d.ts} +0 -0
- /package/dist/components/{InputRadio.d.ts → inputs/InputRadio.d.ts} +0 -0
- /package/dist/components/{InputSelect.d.ts → inputs/InputSelect.d.ts} +0 -0
- /package/dist/components/{InputSelectNative.d.ts → inputs/InputSelectNative.d.ts} +0 -0
- /package/dist/components/{InputSelectOption.d.ts → inputs/InputSelectOption.d.ts} +0 -0
- /package/dist/components/{InputSelectSearchable.d.ts → inputs/InputSelectSearchable.d.ts} +0 -0
- /package/dist/components/{InputSelectSearchableAsync.d.ts → inputs/InputSelectSearchableAsync.d.ts} +0 -0
- /package/dist/components/{InputTextArea.d.ts → inputs/InputTextArea.d.ts} +0 -0
- /package/dist/components/{InputToggle.d.ts → inputs/InputToggle.d.ts} +0 -0
|
@@ -9,4 +9,4 @@ export type BadgeProps = {
|
|
|
9
9
|
showCloseIcon?: boolean;
|
|
10
10
|
Icon?: TablerIcon;
|
|
11
11
|
};
|
|
12
|
-
export declare const Badge:
|
|
12
|
+
export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,8 +2,10 @@ import * as React from "react";
|
|
|
2
2
|
export type ModalProps = {
|
|
3
3
|
open: boolean;
|
|
4
4
|
className?: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
onDismiss?: () => void;
|
|
6
|
+
enableDismissOnOutsideClick?: boolean;
|
|
7
|
+
enableDismissOnEscKey?: boolean;
|
|
8
|
+
enableDismissButton?: boolean;
|
|
7
9
|
children?: React.ReactNode;
|
|
8
10
|
maxWidth?: number;
|
|
9
11
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDismiss: (active: boolean, onDismiss: () => void) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {
|
|
2
|
+
export { Button } from "./components/button/Button.tsx";
|
|
3
|
+
export { ButtonIconSquare } from "./components/button-icon-square/ButtonIconSquare.tsx";
|
|
4
|
+
export { ButtonIconRound } from "./components/button-icon-round/ButtonIconRound.tsx";
|
|
5
|
+
export { Input } from "./components/inputs/Input.tsx";
|
|
6
|
+
export { InputPassword } from "./components/inputs/InputPassword.tsx";
|
|
7
|
+
export { InputTextArea } from "./components/inputs/InputTextArea.tsx";
|
|
8
|
+
export { InputRadio } from "./components/inputs/InputRadio.tsx";
|
|
9
|
+
export { InputToggle } from "./components/inputs/InputToggle.tsx";
|
|
10
|
+
export { InputCheck } from "./components/inputs/InputCheck.tsx";
|
|
11
|
+
export { InputLabel } from "./components/inputs/InputLabel.tsx";
|
|
12
|
+
export { InputDescription } from "./components/inputs/InputDescription.tsx";
|
|
13
|
+
export { InputError } from "./components/inputs/InputError.tsx";
|
|
14
|
+
export { InputErrorIcon } from "./components/inputs/InputErrorIcon.tsx";
|
|
15
|
+
export { InputIconButton } from "./components/inputs/InputIconButton.tsx";
|
|
16
|
+
export { InputIconButtonTray } from "./components/inputs/InputIconButtonTray.tsx";
|
|
17
|
+
export { InputSelectNative } from "./components/inputs/InputSelectNative.tsx";
|
|
18
|
+
export { InputSelect } from "./components/inputs/InputSelect.tsx";
|
|
19
|
+
export { InputSelectSearchable } from "./components/inputs/InputSelectSearchable.tsx";
|
|
20
|
+
export { InputSelectSearchableAsync } from "./components/inputs/InputSelectSearchableAsync.tsx";
|
|
21
|
+
export { InputSelectOption } from "./components/inputs/InputSelectOption.tsx";
|
|
22
|
+
export { Panel } from "./components/Panel.tsx";
|
|
23
|
+
export { Divider } from "./components/Divider.tsx";
|
|
24
|
+
export { Tooltip } from "./components/Tooltip.tsx";
|
|
25
|
+
export { Modal } from "./components/Modal.tsx";
|
|
26
|
+
export { Badge } from "./components/Badge.tsx";
|
|
27
|
+
export { BadgeColor } from "./components/BadgeColors.tsx";
|
|
28
|
+
export { TabButtons } from "./components/TabButtons.tsx";
|
|
29
|
+
export { Spinner } from "./spinner/Spinner.tsx";
|
|
30
|
+
export { PopoverButton } from "./popover/PopoverButton.tsx";
|
|
31
|
+
export { PopoverPanel } from "./popover/PopoverPanel.tsx";
|
|
32
|
+
export { PopoverBase } from "./popover/PopoverBase.tsx";
|
|
33
|
+
export { usePopover } from "./popover/use-popover.tsx";
|
|
34
|
+
export { Test } from "./components/Test.tsx";
|
|
13
35
|
export * from "./types.ts";
|