@reactufy/rebootui 1.0.2 → 1.0.3
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/README.md +3 -3
- package/dist/components/layout/LayoutContent.d.ts +2 -2
- package/dist/components/layout/LayoutContent.d.ts.map +1 -1
- package/dist/components/layout/LayoutFooter.d.ts.map +1 -1
- package/dist/components/layout/LayoutHeader.d.ts.map +1 -1
- package/dist/components/layout/LayoutSidebar.d.ts.map +1 -1
- package/dist/components/ui/Button.d.ts +2 -6
- package/dist/components/ui/Button.d.ts.map +1 -1
- package/dist/components/ui/Container.d.ts.map +1 -1
- package/dist/components/ui/Figcaption.d.ts +8 -0
- package/dist/components/ui/Figcaption.d.ts.map +1 -0
- package/dist/components/ui/Figure.d.ts +11 -0
- package/dist/components/ui/Figure.d.ts.map +1 -0
- package/dist/components/ui/Image.d.ts +9 -0
- package/dist/components/ui/Image.d.ts.map +1 -0
- package/dist/components/ui/List.d.ts +14 -0
- package/dist/components/ui/List.d.ts.map +1 -0
- package/dist/components/ui/ListItem.d.ts +296 -0
- package/dist/components/ui/ListItem.d.ts.map +1 -0
- package/dist/components/ui/Popover.d.ts +2 -2
- package/dist/components/ui/Table.d.ts +33 -2
- package/dist/components/ui/Table.d.ts.map +1 -1
- package/dist/components/ui/Text.d.ts +14 -1
- package/dist/components/ui/Text.d.ts.map +1 -1
- package/dist/components/ui/card/CardImage.d.ts.map +1 -1
- package/dist/components/ui/card/CardTitle.d.ts +2 -2
- package/dist/components/ui/card/CardTitle.d.ts.map +1 -1
- package/dist/components/ui/dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/components/ui/dropdown/DropdownMenu.d.ts.map +1 -1
- package/dist/components/ui/form/Form.d.ts +38 -0
- package/dist/components/ui/form/Form.d.ts.map +1 -0
- package/dist/components/ui/form/FormCheck.d.ts +23 -0
- package/dist/components/ui/form/FormCheck.d.ts.map +1 -0
- package/dist/components/ui/form/FormControl.d.ts +17 -0
- package/dist/components/ui/form/FormControl.d.ts.map +1 -0
- package/dist/components/ui/form/FormDatalist.d.ts +865 -0
- package/dist/components/ui/form/FormDatalist.d.ts.map +1 -0
- package/dist/components/ui/form/FormFeedback.d.ts +16 -0
- package/dist/components/ui/form/FormFeedback.d.ts.map +1 -0
- package/dist/components/ui/form/FormGroup.d.ts +189 -0
- package/dist/components/ui/form/FormGroup.d.ts.map +1 -0
- package/dist/components/ui/form/FormLabel.d.ts +18 -0
- package/dist/components/ui/form/FormLabel.d.ts.map +1 -0
- package/dist/components/ui/form/FormSelect.d.ts +17 -0
- package/dist/components/ui/form/FormSelect.d.ts.map +1 -0
- package/dist/components/ui/form/FormText.d.ts +15 -0
- package/dist/components/ui/form/FormText.d.ts.map +1 -0
- package/dist/components/ui/form/InputGroup.d.ts +13 -0
- package/dist/components/ui/form/InputGroup.d.ts.map +1 -0
- package/dist/components/ui/form/InputGroupText.d.ts +292 -0
- package/dist/components/ui/form/InputGroupText.d.ts.map +1 -0
- package/dist/components/ui/form/test-exports.d.ts +2096 -0
- package/dist/components/ui/form/test-exports.d.ts.map +1 -0
- package/dist/components/ui/grid/Column.d.ts.map +1 -1
- package/dist/components/ui/grid/Row.d.ts.map +1 -1
- package/dist/components/ui/listgroup/ListGroupItem.d.ts +2 -2
- package/dist/components/ui/listgroup/ListGroupItem.d.ts.map +1 -1
- package/dist/components/ui/navbar/Navbar.d.ts.map +1 -1
- package/dist/components/ui/tabs/TabContent.d.ts.map +1 -1
- package/dist/components/ui/tabs/TabPane.d.ts.map +1 -1
- package/dist/components/ui/tabs/Tabs.d.ts.map +1 -1
- package/dist/index.d.ts +19 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2447 -1958
- package/dist/index.mjs.map +1 -1
- package/dist/store/AccordionContext.d.ts +1 -1
- package/dist/store/AccordionContext.d.ts.map +1 -1
- package/dist/store/DropdownContext.d.ts.map +1 -1
- package/dist/store/ListGroupContext.d.ts +1 -2
- package/dist/store/ListGroupContext.d.ts.map +1 -1
- package/dist/store/NavbarContext.d.ts.map +1 -1
- package/dist/types/alert.d.ts +10 -2
- package/dist/types/alert.d.ts.map +1 -1
- package/dist/types/badge.d.ts +10 -2
- package/dist/types/badge.d.ts.map +1 -1
- package/dist/types/button.d.ts +23 -15
- package/dist/types/button.d.ts.map +1 -1
- package/dist/types/card.d.ts +10 -2
- package/dist/types/card.d.ts.map +1 -1
- package/dist/types/dropdown.d.ts.map +1 -1
- package/dist/types/form.d.ts +56 -0
- package/dist/types/form.d.ts.map +1 -0
- package/dist/types/layout.d.ts.map +1 -1
- package/dist/types/listgroup.d.ts +10 -2
- package/dist/types/listgroup.d.ts.map +1 -1
- package/dist/types/modal.d.ts.map +1 -1
- package/dist/types/offcanvas.d.ts +13 -3
- package/dist/types/offcanvas.d.ts.map +1 -1
- package/dist/types/pagination.d.ts +9 -6
- package/dist/types/pagination.d.ts.map +1 -1
- package/dist/types/popover.d.ts +8 -0
- package/dist/types/popover.d.ts.map +1 -0
- package/dist/types/progress.d.ts +21 -8
- package/dist/types/progress.d.ts.map +1 -1
- package/dist/types/row.d.ts +185 -185
- package/dist/types/row.d.ts.map +1 -1
- package/dist/types/spinner.d.ts +12 -4
- package/dist/types/spinner.d.ts.map +1 -1
- package/dist/types/stack.d.ts +72 -72
- package/dist/types/stack.d.ts.map +1 -1
- package/dist/types/toast.d.ts +10 -2
- package/dist/types/toast.d.ts.map +1 -1
- package/dist/types/tooltip.d.ts +6 -2
- package/dist/types/tooltip.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/Base.d.ts +0 -52
- package/dist/types/Base.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@ A modern React component library built on Bootstrap 5, providing a comprehensive
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install rebootui
|
|
8
|
+
npm install @reactufy/rebootui
|
|
9
9
|
# or
|
|
10
|
-
yarn add rebootui
|
|
10
|
+
yarn add @reactufy/rebootui
|
|
11
11
|
# or
|
|
12
|
-
pnpm add rebootui
|
|
12
|
+
pnpm add @reactufy/rebootui
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
type LayoutContentProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const LayoutContent: (
|
|
5
|
+
declare const LayoutContent: import("react").ForwardRefExoticComponent<LayoutContentProps & import("react").RefAttributes<HTMLElement>>;
|
|
6
6
|
export default LayoutContent;
|
|
7
7
|
//# sourceMappingURL=LayoutContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutContent.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutContent.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"LayoutContent.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,KAAK,kBAAkB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,aAAa,4GAWlB,CAAC;AAGF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutFooter.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutFooter.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"LayoutFooter.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,iBAAiB,GAAG;IACrB,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,cAAc,iBAAiB,4CAMpD,CAAA;AACD,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutHeader.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"LayoutHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,iBAAiB,GAAG;IACrB,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,cAAc,iBAAiB,4CAMpD,CAAA;AACD,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutSidebar.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"LayoutSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LayoutSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,kBAAkB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,aAAa,GAAI,cAAc,kBAAkB,4CAMtD,CAAA;AACD,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React, { JSX } from "react";
|
|
2
|
-
import { ButtonColor, ButtonSize } from "../../types/button";
|
|
3
|
-
type ButtonTypes = "button" | "submit" | "reset";
|
|
4
|
-
type ButtonTag = "button" | "a";
|
|
2
|
+
import { ButtonColor, ButtonSize, ButtonType, ButtonTag } from "../../types/button";
|
|
5
3
|
type AllowedProps = "id" | "title" | "style" | "className" | "href" | "target" | "rel";
|
|
6
4
|
type DOMEvents<T extends HTMLElement> = React.DOMAttributes<T>;
|
|
7
5
|
type ButtonProps<T extends ButtonTag = "button"> = {
|
|
@@ -10,14 +8,12 @@ type ButtonProps<T extends ButtonTag = "button"> = {
|
|
|
10
8
|
className?: string;
|
|
11
9
|
color?: ButtonColor;
|
|
12
10
|
size?: ButtonSize;
|
|
13
|
-
type?:
|
|
11
|
+
type?: ButtonType;
|
|
14
12
|
disabled?: boolean;
|
|
15
13
|
active?: boolean;
|
|
16
14
|
} & Partial<Pick<JSX.IntrinsicElements[T], Extract<AllowedProps, keyof JSX.IntrinsicElements[T]>>> & DOMEvents<T extends "a" ? HTMLAnchorElement : HTMLButtonElement>;
|
|
17
15
|
declare const Button: <T extends ButtonTag = ButtonTag>({ el, children, className, color, size, type, disabled, active, ...rest }: ButtonProps<T>) => React.DetailedReactHTMLElement<Omit<ButtonProps<T>, "className" | "color" | "children" | "disabled" | "type" | "el" | "size" | "active"> & {
|
|
18
16
|
className: string;
|
|
19
|
-
type: ButtonTypes;
|
|
20
|
-
disabled: boolean;
|
|
21
17
|
}, HTMLElement>;
|
|
22
18
|
export default Button;
|
|
23
19
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,GAAG,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,GAAG,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAQpF,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEvF,KAAK,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAE/D,KAAK,WAAW,CAAC,CAAC,SAAS,SAAS,GAAG,QAAQ,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAC5F,SAAS,CAAC,CAAC,SAAS,GAAG,GAAG,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;AAEvE,QAAA,MAAM,MAAM,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,2EAU9C,WAAW,CAAC,CAAC,CAAC;;eAwChB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Container.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,WAAW,CAAC;AAEjD,KAAK,cAAc,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3G,QAAA,MAAM,SAAS,GAAI,wCAKhB,cAAc,4CAwBhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSX, type ReactNode } from "react";
|
|
2
|
+
type AllowedProps = "id" | "style" | "className";
|
|
3
|
+
export type FigcaptionProps = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
} & Partial<Pick<JSX.IntrinsicElements["figcaption"], Extract<AllowedProps, keyof JSX.IntrinsicElements["figcaption"]>>>;
|
|
6
|
+
declare const Figcaption: ({ className, children, ...rest }: FigcaptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Figcaption;
|
|
8
|
+
//# sourceMappingURL=Figcaption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Figcaption.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Figcaption.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzH,QAAA,MAAM,UAAU,GAAI,kCAAkC,eAAe,4CAkBpE,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { JSX, type ReactNode } from "react";
|
|
2
|
+
import Figcaption from "./Figcaption";
|
|
3
|
+
type AllowedProps = "id" | "style" | "className";
|
|
4
|
+
export type FigureProps = {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
} & Partial<Pick<JSX.IntrinsicElements["figure"], Extract<AllowedProps, keyof JSX.IntrinsicElements["figure"]>>>;
|
|
7
|
+
declare const Figure: React.FC<FigureProps> & {
|
|
8
|
+
figureCaption: typeof Figcaption;
|
|
9
|
+
};
|
|
10
|
+
export default Figure;
|
|
11
|
+
//# sourceMappingURL=Figure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Figure.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Figure.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjH,QAAA,MAAM,MAAM,EAkBN,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG;IAC1B,aAAa,EAAE,OAAO,UAAU,CAAC;CACpC,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
2
|
+
type AllowedProps = "id" | "style" | "className" | "alt" | "src";
|
|
3
|
+
export type ImageProps = {
|
|
4
|
+
fluid?: boolean;
|
|
5
|
+
thumbnail?: boolean;
|
|
6
|
+
} & Partial<Pick<JSX.IntrinsicElements["img"], Extract<AllowedProps, keyof JSX.IntrinsicElements["img"]>>>;
|
|
7
|
+
declare const Image: ({ className, fluid, thumbnail, ...props }: ImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Image;
|
|
9
|
+
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,WAAW,GAAG,KAAK,GAAG,KAAK,CAAC;AAEjE,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3G,QAAA,MAAM,KAAK,GAAI,2CAKZ,UAAU,4CAaZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode, type HTMLAttributes, type DetailedHTMLProps, type OlHTMLAttributes } from "react";
|
|
2
|
+
type ListTag = 'ul' | 'ol' | 'dl';
|
|
3
|
+
type ListElementMap = {
|
|
4
|
+
ul: HTMLUListElement;
|
|
5
|
+
ol: HTMLOListElement;
|
|
6
|
+
dl: HTMLDListElement;
|
|
7
|
+
};
|
|
8
|
+
type ListProps<T extends ListTag = 'ul'> = {
|
|
9
|
+
el?: T;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
} & (T extends 'ol' ? DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement> : DetailedHTMLProps<HTMLAttributes<ListElementMap[T]>, ListElementMap[T]>);
|
|
12
|
+
declare const List: <T extends ListTag = "ul">({ el, children, ...props }: ListProps<T>) => import("react").DetailedReactHTMLElement<Omit<ListProps<T>, "children" | "el">, HTMLDListElement>;
|
|
13
|
+
export default List;
|
|
14
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/ui/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAExB,MAAM,OAAO,CAAC;AAEf,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElC,KAAK,cAAc,GAAG;IAClB,EAAE,EAAE,gBAAgB,CAAC;IACrB,EAAE,EAAE,gBAAgB,CAAC;IACrB,EAAE,EAAE,gBAAgB,CAAC;CACxB,CAAC;AAEF,KAAK,SAAS,CAAC,CAAC,SAAS,OAAO,GAAG,IAAI,IAAI;IACvC,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,CAAC,CAAC,SAAS,IAAI,GACb,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,GACvE,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CACxE,CAAC;AAEN,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,OAAO,GAAG,IAAI,EAAE,4BAIrC,SAAS,CAAC,CAAC,CAAC,sGAGd,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { type ReactNode, type HTMLAttributes, type DetailedHTMLProps } from "react";
|
|
2
|
+
type ListItemTag = 'li' | 'dt' | 'dd';
|
|
3
|
+
type ListItemElementMap = {
|
|
4
|
+
li: HTMLLIElement;
|
|
5
|
+
dt: HTMLElement;
|
|
6
|
+
dd: HTMLElement;
|
|
7
|
+
};
|
|
8
|
+
type ListItemProps<T extends ListItemTag = 'li'> = {
|
|
9
|
+
el?: T;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
} & DetailedHTMLProps<HTMLAttributes<ListItemElementMap[T]>, ListItemElementMap[T]>;
|
|
12
|
+
declare const ListItem: <T extends ListItemTag = "li">({ el, children, ...props }: ListItemProps<T>) => import("react").DetailedReactHTMLElement<{
|
|
13
|
+
ref?: import("react").Ref<ListItemElementMap[T]> | undefined;
|
|
14
|
+
key?: import("react").Key | null | undefined;
|
|
15
|
+
defaultChecked?: boolean | undefined;
|
|
16
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
18
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
19
|
+
accessKey?: string | undefined;
|
|
20
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
21
|
+
autoFocus?: boolean | undefined;
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
24
|
+
contextMenu?: string | undefined;
|
|
25
|
+
dir?: string | undefined;
|
|
26
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
27
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
28
|
+
hidden?: boolean | undefined;
|
|
29
|
+
id?: string | undefined;
|
|
30
|
+
lang?: string | undefined;
|
|
31
|
+
nonce?: string | undefined;
|
|
32
|
+
slot?: string | undefined;
|
|
33
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
34
|
+
style?: import("react").CSSProperties | undefined;
|
|
35
|
+
tabIndex?: number | undefined;
|
|
36
|
+
title?: string | undefined;
|
|
37
|
+
translate?: "yes" | "no" | undefined;
|
|
38
|
+
radioGroup?: string | undefined;
|
|
39
|
+
role?: import("react").AriaRole | undefined;
|
|
40
|
+
about?: string | undefined;
|
|
41
|
+
content?: string | undefined;
|
|
42
|
+
datatype?: string | undefined;
|
|
43
|
+
inlist?: any;
|
|
44
|
+
prefix?: string | undefined;
|
|
45
|
+
property?: string | undefined;
|
|
46
|
+
rel?: string | undefined;
|
|
47
|
+
resource?: string | undefined;
|
|
48
|
+
rev?: string | undefined;
|
|
49
|
+
typeof?: string | undefined;
|
|
50
|
+
vocab?: string | undefined;
|
|
51
|
+
autoCorrect?: string | undefined;
|
|
52
|
+
autoSave?: string | undefined;
|
|
53
|
+
color?: string | undefined;
|
|
54
|
+
itemProp?: string | undefined;
|
|
55
|
+
itemScope?: boolean | undefined;
|
|
56
|
+
itemType?: string | undefined;
|
|
57
|
+
itemID?: string | undefined;
|
|
58
|
+
itemRef?: string | undefined;
|
|
59
|
+
results?: number | undefined;
|
|
60
|
+
security?: string | undefined;
|
|
61
|
+
unselectable?: "on" | "off" | undefined;
|
|
62
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
63
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
64
|
+
popoverTarget?: string | undefined;
|
|
65
|
+
inert?: boolean | undefined;
|
|
66
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
67
|
+
is?: string | undefined;
|
|
68
|
+
exportparts?: string | undefined;
|
|
69
|
+
part?: string | undefined;
|
|
70
|
+
"aria-activedescendant"?: string | undefined;
|
|
71
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
72
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
73
|
+
"aria-braillelabel"?: string | undefined;
|
|
74
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
75
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
77
|
+
"aria-colcount"?: number | undefined;
|
|
78
|
+
"aria-colindex"?: number | undefined;
|
|
79
|
+
"aria-colindextext"?: string | undefined;
|
|
80
|
+
"aria-colspan"?: number | undefined;
|
|
81
|
+
"aria-controls"?: string | undefined;
|
|
82
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
83
|
+
"aria-describedby"?: string | undefined;
|
|
84
|
+
"aria-description"?: string | undefined;
|
|
85
|
+
"aria-details"?: string | undefined;
|
|
86
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
88
|
+
"aria-errormessage"?: string | undefined;
|
|
89
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-flowto"?: string | undefined;
|
|
91
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
93
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
94
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
95
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
96
|
+
"aria-label"?: string | undefined;
|
|
97
|
+
"aria-labelledby"?: string | undefined;
|
|
98
|
+
"aria-level"?: number | undefined;
|
|
99
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
100
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
102
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
103
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
104
|
+
"aria-owns"?: string | undefined;
|
|
105
|
+
"aria-placeholder"?: string | undefined;
|
|
106
|
+
"aria-posinset"?: number | undefined;
|
|
107
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
108
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
109
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
110
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
111
|
+
"aria-roledescription"?: string | undefined;
|
|
112
|
+
"aria-rowcount"?: number | undefined;
|
|
113
|
+
"aria-rowindex"?: number | undefined;
|
|
114
|
+
"aria-rowindextext"?: string | undefined;
|
|
115
|
+
"aria-rowspan"?: number | undefined;
|
|
116
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-setsize"?: number | undefined;
|
|
118
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
119
|
+
"aria-valuemax"?: number | undefined;
|
|
120
|
+
"aria-valuemin"?: number | undefined;
|
|
121
|
+
"aria-valuenow"?: number | undefined;
|
|
122
|
+
"aria-valuetext"?: string | undefined;
|
|
123
|
+
dangerouslySetInnerHTML?: {
|
|
124
|
+
__html: string | TrustedHTML;
|
|
125
|
+
} | undefined;
|
|
126
|
+
onCopy?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
127
|
+
onCopyCapture?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
128
|
+
onCut?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
129
|
+
onCutCapture?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
130
|
+
onPaste?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
131
|
+
onPasteCapture?: import("react").ClipboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
132
|
+
onCompositionEnd?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
133
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
134
|
+
onCompositionStart?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
135
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
136
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
137
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<ListItemElementMap[T]> | undefined;
|
|
138
|
+
onFocus?: import("react").FocusEventHandler<ListItemElementMap[T]> | undefined;
|
|
139
|
+
onFocusCapture?: import("react").FocusEventHandler<ListItemElementMap[T]> | undefined;
|
|
140
|
+
onBlur?: import("react").FocusEventHandler<ListItemElementMap[T]> | undefined;
|
|
141
|
+
onBlurCapture?: import("react").FocusEventHandler<ListItemElementMap[T]> | undefined;
|
|
142
|
+
onChange?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
143
|
+
onChangeCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
144
|
+
onBeforeInput?: import("react").InputEventHandler<ListItemElementMap[T]> | undefined;
|
|
145
|
+
onBeforeInputCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
146
|
+
onInput?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
147
|
+
onInputCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
148
|
+
onReset?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
149
|
+
onResetCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
150
|
+
onSubmit?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
151
|
+
onSubmitCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
152
|
+
onInvalid?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
153
|
+
onInvalidCapture?: import("react").FormEventHandler<ListItemElementMap[T]> | undefined;
|
|
154
|
+
onLoad?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
155
|
+
onLoadCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
156
|
+
onError?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
157
|
+
onErrorCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
158
|
+
onKeyDown?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
159
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
160
|
+
onKeyPress?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
161
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
162
|
+
onKeyUp?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
163
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<ListItemElementMap[T]> | undefined;
|
|
164
|
+
onAbort?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
165
|
+
onAbortCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
166
|
+
onCanPlay?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
167
|
+
onCanPlayCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
168
|
+
onCanPlayThrough?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
169
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
170
|
+
onDurationChange?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
171
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
172
|
+
onEmptied?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
173
|
+
onEmptiedCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
174
|
+
onEncrypted?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
175
|
+
onEncryptedCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
176
|
+
onEnded?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
177
|
+
onEndedCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
178
|
+
onLoadedData?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
179
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
180
|
+
onLoadedMetadata?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
181
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
182
|
+
onLoadStart?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
183
|
+
onLoadStartCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
184
|
+
onPause?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
185
|
+
onPauseCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
186
|
+
onPlay?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
187
|
+
onPlayCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
188
|
+
onPlaying?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
189
|
+
onPlayingCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
190
|
+
onProgress?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
191
|
+
onProgressCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
192
|
+
onRateChange?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
193
|
+
onRateChangeCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
194
|
+
onSeeked?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
195
|
+
onSeekedCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
196
|
+
onSeeking?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
197
|
+
onSeekingCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
198
|
+
onStalled?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
199
|
+
onStalledCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
200
|
+
onSuspend?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
201
|
+
onSuspendCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
202
|
+
onTimeUpdate?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
203
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
204
|
+
onVolumeChange?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
205
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
206
|
+
onWaiting?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
207
|
+
onWaitingCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
208
|
+
onAuxClick?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
209
|
+
onAuxClickCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
210
|
+
onClick?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
211
|
+
onClickCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
212
|
+
onContextMenu?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
213
|
+
onContextMenuCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
214
|
+
onDoubleClick?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
215
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
216
|
+
onDrag?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
217
|
+
onDragCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
218
|
+
onDragEnd?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
219
|
+
onDragEndCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
220
|
+
onDragEnter?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
221
|
+
onDragEnterCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
222
|
+
onDragExit?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
223
|
+
onDragExitCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
224
|
+
onDragLeave?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
225
|
+
onDragLeaveCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
226
|
+
onDragOver?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
227
|
+
onDragOverCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
228
|
+
onDragStart?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
229
|
+
onDragStartCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
230
|
+
onDrop?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
231
|
+
onDropCapture?: import("react").DragEventHandler<ListItemElementMap[T]> | undefined;
|
|
232
|
+
onMouseDown?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
233
|
+
onMouseDownCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
234
|
+
onMouseEnter?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
235
|
+
onMouseLeave?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
236
|
+
onMouseMove?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
237
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
238
|
+
onMouseOut?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
239
|
+
onMouseOutCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
240
|
+
onMouseOver?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
241
|
+
onMouseOverCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
242
|
+
onMouseUp?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
243
|
+
onMouseUpCapture?: import("react").MouseEventHandler<ListItemElementMap[T]> | undefined;
|
|
244
|
+
onSelect?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
245
|
+
onSelectCapture?: import("react").ReactEventHandler<ListItemElementMap[T]> | undefined;
|
|
246
|
+
onTouchCancel?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
247
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
248
|
+
onTouchEnd?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
249
|
+
onTouchEndCapture?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
250
|
+
onTouchMove?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
251
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
252
|
+
onTouchStart?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
253
|
+
onTouchStartCapture?: import("react").TouchEventHandler<ListItemElementMap[T]> | undefined;
|
|
254
|
+
onPointerDown?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
255
|
+
onPointerDownCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
256
|
+
onPointerMove?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
257
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
258
|
+
onPointerUp?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
259
|
+
onPointerUpCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
260
|
+
onPointerCancel?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
261
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
262
|
+
onPointerEnter?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
263
|
+
onPointerLeave?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
264
|
+
onPointerOver?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
265
|
+
onPointerOverCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
266
|
+
onPointerOut?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
267
|
+
onPointerOutCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
268
|
+
onGotPointerCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
269
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
270
|
+
onLostPointerCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
271
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<ListItemElementMap[T]> | undefined;
|
|
272
|
+
onScroll?: import("react").UIEventHandler<ListItemElementMap[T]> | undefined;
|
|
273
|
+
onScrollCapture?: import("react").UIEventHandler<ListItemElementMap[T]> | undefined;
|
|
274
|
+
onScrollEnd?: import("react").UIEventHandler<ListItemElementMap[T]> | undefined;
|
|
275
|
+
onScrollEndCapture?: import("react").UIEventHandler<ListItemElementMap[T]> | undefined;
|
|
276
|
+
onWheel?: import("react").WheelEventHandler<ListItemElementMap[T]> | undefined;
|
|
277
|
+
onWheelCapture?: import("react").WheelEventHandler<ListItemElementMap[T]> | undefined;
|
|
278
|
+
onAnimationStart?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
279
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
280
|
+
onAnimationEnd?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
281
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
282
|
+
onAnimationIteration?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
283
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<ListItemElementMap[T]> | undefined;
|
|
284
|
+
onToggle?: import("react").ToggleEventHandler<ListItemElementMap[T]> | undefined;
|
|
285
|
+
onBeforeToggle?: import("react").ToggleEventHandler<ListItemElementMap[T]> | undefined;
|
|
286
|
+
onTransitionCancel?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
287
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
288
|
+
onTransitionEnd?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
289
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
290
|
+
onTransitionRun?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
291
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
292
|
+
onTransitionStart?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
293
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<ListItemElementMap[T]> | undefined;
|
|
294
|
+
}, ListItemElementMap[T]>;
|
|
295
|
+
export default ListItem;
|
|
296
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/components/ui/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEzB,MAAM,OAAO,CAAC;AAEf,KAAK,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,KAAK,kBAAkB,GAAG;IACtB,EAAE,EAAE,aAAa,CAAC;IAClB,EAAE,EAAE,WAAW,CAAC;IAChB,EAAE,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,KAAK,aAAa,CAAC,CAAC,SAAS,WAAW,GAAG,IAAI,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,iBAAiB,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpF,QAAA,MAAM,QAAQ,GAAI,CAAC,SAAS,WAAW,GAAG,IAAI,EAAE,4BAI7C,aAAa,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAGlB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { JSX } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPlacement } from "../../types/popover";
|
|
3
3
|
type AllowedProps = "id" | "style" | "className";
|
|
4
4
|
type PopoverProps = {
|
|
5
5
|
title?: string;
|
|
6
6
|
content: string;
|
|
7
7
|
className?: string;
|
|
8
|
-
placement?:
|
|
8
|
+
placement?: PopoverPlacement;
|
|
9
9
|
trigger?: "click" | "hover" | "focus";
|
|
10
10
|
container?: "body" | "inline";
|
|
11
11
|
children: React.ReactNode;
|
|
@@ -1,16 +1,47 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export type TableColumn<T> = {
|
|
3
|
-
header: string;
|
|
3
|
+
header: string | React.ReactNode;
|
|
4
4
|
accessor: keyof T | ((row: T) => React.ReactNode);
|
|
5
|
+
className?: string;
|
|
6
|
+
headerClassName?: string;
|
|
7
|
+
width?: string | number;
|
|
8
|
+
align?: "left" | "center" | "right";
|
|
5
9
|
};
|
|
10
|
+
export declare enum TableSize {
|
|
11
|
+
Small = "table-sm",
|
|
12
|
+
Default = "",
|
|
13
|
+
Large = ""
|
|
14
|
+
}
|
|
15
|
+
export declare enum TableVariant {
|
|
16
|
+
Default = "",
|
|
17
|
+
Dark = "table-dark",
|
|
18
|
+
Primary = "table-primary",
|
|
19
|
+
Secondary = "table-secondary",
|
|
20
|
+
Success = "table-success",
|
|
21
|
+
Danger = "table-danger",
|
|
22
|
+
Warning = "table-warning",
|
|
23
|
+
Info = "table-info",
|
|
24
|
+
Light = "table-light"
|
|
25
|
+
}
|
|
6
26
|
type TableProps<T> = {
|
|
7
27
|
columns: TableColumn<T>[];
|
|
8
28
|
data: T[];
|
|
9
29
|
striped?: boolean;
|
|
30
|
+
stripedColumns?: boolean;
|
|
10
31
|
bordered?: boolean;
|
|
32
|
+
borderless?: boolean;
|
|
11
33
|
hover?: boolean;
|
|
12
34
|
darkHeader?: boolean;
|
|
35
|
+
size?: TableSize;
|
|
36
|
+
variant?: TableVariant;
|
|
37
|
+
responsive?: boolean | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
38
|
+
className?: string;
|
|
39
|
+
caption?: string | React.ReactNode;
|
|
40
|
+
captionTop?: boolean;
|
|
41
|
+
onRowClick?: (row: T, index: number) => void;
|
|
42
|
+
rowClassName?: string | ((row: T, index: number) => string);
|
|
43
|
+
emptyMessage?: string | React.ReactNode;
|
|
13
44
|
};
|
|
14
|
-
declare const Table: <T extends object>({ columns, data, striped, bordered, hover, darkHeader, }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare const Table: <T extends object>({ columns, data, striped, stripedColumns, bordered, borderless, hover, darkHeader, size, variant, responsive, className, caption, captionTop, onRowClick, rowClassName, emptyMessage }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
46
|
export default Table;
|
|
16
47
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IACzB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IACzB,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACvC,CAAC;AAEF,oBAAY,SAAS;IACjB,KAAK,aAAa;IAClB,OAAO,KAAK;IACZ,KAAK,KAAK;CACb;AAED,oBAAY,YAAY;IACpB,OAAO,KAAK;IACZ,IAAI,eAAe;IACnB,OAAO,kBAAkB;IACzB,SAAS,oBAAoB;IAC7B,OAAO,kBAAkB;IACzB,MAAM,iBAAiB;IACvB,OAAO,kBAAkB;IACzB,IAAI,eAAe;IACnB,KAAK,gBAAgB;CACxB;AAED,KAAK,UAAU,CAAC,CAAC,IAAI;IACjB,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CAC3C,CAAC;AAEF,QAAA,MAAM,KAAK,GAAI,CAAC,SAAS,MAAM,EAAE,wLAkB9B,UAAU,CAAC,CAAC,CAAC,4CA+If,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode, type HTMLAttributes, type DetailedHTMLProps } from "react";
|
|
2
|
-
type TextTag = 'p' | 'span' | 'small' | 'strong' | 'em' | 'cite' | 'q' | 'blockquote' | 'code' | 'pre';
|
|
2
|
+
type TextTag = 'p' | 'span' | 'small' | 'strong' | 'em' | 'cite' | 'q' | 'blockquote' | 'code' | 'pre' | 'del' | 's' | 'ins' | 'u' | 'mark' | 'abbr' | 'b' | 'i' | 'kbd' | 'samp' | 'var' | 'sub' | 'sup';
|
|
3
3
|
type TextElementMap = {
|
|
4
4
|
p: HTMLParagraphElement;
|
|
5
5
|
span: HTMLSpanElement;
|
|
@@ -11,6 +11,19 @@ type TextElementMap = {
|
|
|
11
11
|
blockquote: HTMLQuoteElement;
|
|
12
12
|
code: HTMLElement;
|
|
13
13
|
pre: HTMLPreElement;
|
|
14
|
+
del: HTMLModElement;
|
|
15
|
+
s: HTMLElement;
|
|
16
|
+
ins: HTMLModElement;
|
|
17
|
+
u: HTMLElement;
|
|
18
|
+
mark: HTMLElement;
|
|
19
|
+
abbr: HTMLElement;
|
|
20
|
+
b: HTMLElement;
|
|
21
|
+
i: HTMLElement;
|
|
22
|
+
kbd: HTMLElement;
|
|
23
|
+
samp: HTMLElement;
|
|
24
|
+
var: HTMLElement;
|
|
25
|
+
sub: HTMLElement;
|
|
26
|
+
sup: HTMLElement;
|
|
14
27
|
};
|
|
15
28
|
type TextProps<T extends TextTag = 'p'> = {
|
|
16
29
|
el?: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEzB,MAAM,OAAO,CAAC;AAEf,KAAK,OAAO,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,GAAG,MAAM,GAAG,GAAG,GAAG,YAAY,GAAG,MAAM,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEzB,MAAM,OAAO,CAAC;AAEf,KAAK,OAAO,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,GAAG,MAAM,GAAG,GAAG,GAAG,YAAY,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,MAAM,GAAG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAC1M,KAAK,cAAc,GAAG;IAClB,CAAC,EAAE,oBAAoB,CAAC;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,WAAW,CAAC;IACpB,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,WAAW,CAAC;IAClB,CAAC,EAAE,gBAAgB,CAAC;IACpB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,cAAc,CAAC;IACpB,GAAG,EAAE,cAAc,CAAC;IACpB,CAAC,EAAE,WAAW,CAAC;IACf,GAAG,EAAE,cAAc,CAAC;IACpB,CAAC,EAAE,WAAW,CAAC;IACf,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,CAAC,EAAE,WAAW,CAAC;IACf,CAAC,EAAE,WAAW,CAAC;IACf,GAAG,EAAE,WAAW,CAAC;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,KAAK,SAAS,CAAC,CAAC,SAAS,OAAO,GAAG,GAAG,IAAI;IACtC,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5E,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,4BAIxC,SAAS,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAGd,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardImage.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/CardImage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardImage.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/CardImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AASzD,KAAK,cAAc,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,oCAKhB,cAAc,4CAwBhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX, ReactNode } from "react";
|
|
2
2
|
type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
3
|
type AllowedProps = "id" | "title" | "style" | "onClick" | "className";
|
|
4
4
|
type CardTitleProps<T extends HeadingTag = 'h5'> = {
|
|
@@ -6,7 +6,7 @@ type CardTitleProps<T extends HeadingTag = 'h5'> = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
} & Pick<JSX.IntrinsicElements[T], AllowedProps>;
|
|
9
|
-
declare const CardTitle: <T extends HeadingTag = HeadingTag>({ el, children, className, ...props }: CardTitleProps<T>) =>
|
|
9
|
+
declare const CardTitle: <T extends HeadingTag = HeadingTag>({ el, children, className, ...props }: CardTitleProps<T>) => import("react").DetailedReactHTMLElement<{
|
|
10
10
|
className: string;
|
|
11
11
|
id?: JSX.IntrinsicElements[T]["id"] | undefined;
|
|
12
12
|
style?: JSX.IntrinsicElements[T]["style"] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/CardTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/CardTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,KAAK,YAAY,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAEvE,KAAK,cAAc,CAAC,CAAC,SAAS,UAAU,GAAG,IAAI,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACvB,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;AAEjD,QAAA,MAAM,SAAS,GAAI,CAAC,SAAS,UAAU,GAAG,UAAU,EAAE,uCAKnD,cAAc,CAAC,CAAC,CAAC;;;;;;eAanB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropdown/DropdownItem.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropdown/DropdownItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,KAAK,eAAe,GAAG,QAAQ,GAAG,GAAG,CAAC;AACtC,KAAK,YAAY,GAAG,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAE/E,KAAK,iBAAiB,CAAC,CAAC,SAAS,eAAe,GAAG,QAAQ,IAAI;IAC3D,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAGnG,QAAA,MAAM,YAAY,GAAI,CAAC,SAAS,eAAe,GAAG,eAAe,EAAE,kEAQhE,iBAAiB,CAAC,CAAC,CAAC,4CAgCtB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|