@tide-design/components 0.11.3 → 0.11.5
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/Accordion/Accordion.d.ts +6 -2
- package/dist/Accordion/Accordion.js +4 -1
- package/dist/Accordion/components/AccordionItem.d.ts +3 -1
- package/dist/Accordion/components/AccordionItem.js +1 -0
- package/dist/Accordion/components/AccordionPanel.d.ts +3 -1
- package/dist/Accordion/components/AccordionPanel.js +1 -0
- package/dist/Accordion/components/AccordionTrigger.d.ts +3 -1
- package/dist/Accordion/components/AccordionTrigger.js +1 -0
- package/dist/Accordion/index.d.ts +5 -5
- package/dist/Alert/Alert.d.ts +6 -2
- package/dist/Alert/Alert.js +4 -1
- package/dist/Alert/index.d.ts +2 -2
- package/dist/Avatar/Avatar.d.ts +3 -1
- package/dist/Avatar/Avatar.js +1 -0
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Badge/Badge.d.ts +6 -2
- package/dist/Badge/Badge.js +4 -1
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Breadcrumb/Breadcrumb.d.ts +3 -1
- package/dist/Breadcrumb/Breadcrumb.js +1 -0
- package/dist/Breadcrumb/components/BreadcrumbLink.d.ts +6 -2
- package/dist/Breadcrumb/components/BreadcrumbLink.js +4 -1
- package/dist/Breadcrumb/index.d.ts +3 -3
- package/dist/Button/Button.d.ts +6 -2
- package/dist/Button/Button.js +4 -1
- package/dist/Button/index.d.ts +2 -2
- package/dist/Card/Card.d.ts +3 -1
- package/dist/Card/Card.js +1 -0
- package/dist/Card/index.d.ts +2 -2
- package/dist/Checkbox/Checkbox.d.ts +6 -2
- package/dist/Checkbox/Checkbox.js +4 -1
- package/dist/Checkbox/index.d.ts +2 -2
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +3 -1
- package/dist/CheckboxGroup/CheckboxGroup.js +1 -0
- package/dist/CheckboxGroup/index.d.ts +2 -2
- package/dist/Combobox/Combobox.d.ts +3 -1
- package/dist/Combobox/Combobox.js +1 -0
- package/dist/Combobox/components/ComboboxItem.d.ts +3 -1
- package/dist/Combobox/components/ComboboxItem.js +1 -0
- package/dist/Combobox/index.d.ts +3 -3
- package/dist/Dialog/components/DialogClose.d.ts +3 -1
- package/dist/Dialog/components/DialogClose.js +1 -0
- package/dist/Dialog/components/DialogContent.d.ts +3 -1
- package/dist/Dialog/components/DialogContent.js +1 -0
- package/dist/Dialog/components/DialogTrigger.d.ts +3 -1
- package/dist/Dialog/components/DialogTrigger.js +1 -0
- package/dist/Dialog/index.d.ts +4 -4
- package/dist/Field/Field.d.ts +3 -1
- package/dist/Field/Field.js +1 -0
- package/dist/Field/index.d.ts +2 -2
- package/dist/IconButton/IconButton.d.ts +6 -2
- package/dist/IconButton/IconButton.js +4 -1
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/Input/Input.d.ts +3 -1
- package/dist/Input/Input.js +1 -0
- package/dist/Input/index.d.ts +2 -2
- package/dist/Link/Link.d.ts +6 -2
- package/dist/Link/Link.js +4 -1
- package/dist/Link/index.d.ts +2 -2
- package/dist/Menu/components/MenuContent.d.ts +3 -1
- package/dist/Menu/components/MenuContent.js +1 -0
- package/dist/Menu/components/MenuItem.d.ts +3 -1
- package/dist/Menu/components/MenuItem.js +1 -0
- package/dist/Menu/components/MenuTrigger.d.ts +3 -1
- package/dist/Menu/components/MenuTrigger.js +1 -0
- package/dist/Menu/index.d.ts +4 -4
- package/dist/Pagination/Pagination.d.ts +3 -1
- package/dist/Pagination/Pagination.js +1 -0
- package/dist/Pagination/components/PaginationEllipsis.d.ts +6 -2
- package/dist/Pagination/components/PaginationEllipsis.js +4 -1
- package/dist/Pagination/components/PaginationLink.d.ts +6 -2
- package/dist/Pagination/components/PaginationLink.js +4 -1
- package/dist/Pagination/components/PaginationNext.d.ts +6 -2
- package/dist/Pagination/components/PaginationNext.js +4 -1
- package/dist/Pagination/components/PaginationPrevious.d.ts +6 -2
- package/dist/Pagination/components/PaginationPrevious.js +4 -1
- package/dist/Pagination/index.d.ts +6 -6
- package/dist/Pagination/types.d.ts +5 -4
- package/dist/Popover/components/PopoverContent.d.ts +3 -1
- package/dist/Popover/components/PopoverContent.js +1 -0
- package/dist/Popover/components/PopoverTrigger.d.ts +3 -1
- package/dist/Popover/components/PopoverTrigger.js +1 -0
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Progress/Progress.d.ts +6 -3
- package/dist/Progress/Progress.js +4 -1
- package/dist/Progress/index.d.ts +2 -2
- package/dist/Radio/Radio.d.ts +6 -2
- package/dist/Radio/Radio.js +4 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/RadioGroup/RadioGroup.d.ts +3 -1
- package/dist/RadioGroup/RadioGroup.js +1 -0
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/Select/Select.d.ts +3 -1
- package/dist/Select/Select.js +1 -0
- package/dist/Select/components/SelectItem.d.ts +3 -1
- package/dist/Select/components/SelectItem.js +1 -0
- package/dist/Select/index.d.ts +3 -3
- package/dist/Separator/Separator.d.ts +6 -2
- package/dist/Separator/Separator.js +4 -1
- package/dist/Separator/index.d.ts +2 -2
- package/dist/Skeleton/Skeleton.d.ts +4 -3
- package/dist/Skeleton/Skeleton.js +1 -0
- package/dist/Skeleton/index.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +3 -1
- package/dist/Spinner/Spinner.js +1 -0
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Switch/Switch.d.ts +3 -1
- package/dist/Switch/Switch.js +1 -0
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Table/components/TableHeaderCell.d.ts +3 -1
- package/dist/Table/components/TableHeaderCell.js +1 -0
- package/dist/Table/index.d.ts +2 -2
- package/dist/Tabs/Tabs.d.ts +4 -2
- package/dist/Tabs/Tabs.js +1 -0
- package/dist/Tabs/components/Tab.d.ts +3 -1
- package/dist/Tabs/components/Tab.js +1 -0
- package/dist/Tabs/components/TabList.d.ts +3 -1
- package/dist/Tabs/components/TabList.js +1 -0
- package/dist/Tabs/components/TabPanel.d.ts +3 -1
- package/dist/Tabs/components/TabPanel.js +1 -0
- package/dist/Tabs/index.d.ts +5 -5
- package/dist/Tag/Tag.d.ts +3 -1
- package/dist/Tag/Tag.js +1 -0
- package/dist/Tag/components/TagGroup.d.ts +3 -2
- package/dist/Tag/components/TagGroup.js +1 -0
- package/dist/Tag/index.d.ts +3 -3
- package/dist/Textarea/Textarea.d.ts +3 -1
- package/dist/Textarea/Textarea.js +1 -0
- package/dist/Textarea/index.d.ts +2 -2
- package/dist/Toast/Toast.d.ts +3 -1
- package/dist/Toast/Toast.js +1 -0
- package/dist/Toast/index.d.ts +2 -2
- package/dist/Tooltip/components/TooltipContent.d.ts +3 -1
- package/dist/Tooltip/components/TooltipContent.js +1 -0
- package/dist/Tooltip/components/TooltipTrigger.d.ts +3 -1
- package/dist/Tooltip/components/TooltipTrigger.js +1 -0
- package/dist/Tooltip/index.d.ts +3 -3
- package/dist/Typography/Typography.d.ts +8 -4
- package/dist/Typography/Typography.js +1 -0
- package/dist/Typography/index.d.ts +2 -2
- package/dist/_internal/components/ListBoxNodes/types.d.ts +2 -1
- package/dist/index.d.ts +54 -54
- package/package.json +14 -3
|
@@ -9,6 +9,7 @@ import { mergeProps, mergeRefs } from "react-aria";
|
|
|
9
9
|
/**
|
|
10
10
|
* Tooltip을 여는 요소. 마우스를 올리면 `delay` 뒤에, 키보드로 포커스하면 바로 열린다.
|
|
11
11
|
* 누르면(마우스, 터치, 키) 닫힌다. 열린 동안 `aria-describedby`에 설명 id가 더해진다.
|
|
12
|
+
* Tide props: `render` ({@link TooltipTriggerOwnProps}). 나머지는 `<button>` 속성.
|
|
12
13
|
*/
|
|
13
14
|
function TooltipTrigger({ render, ref, className, "aria-describedby": describedBy, ...props }) {
|
|
14
15
|
const { triggerRef, triggerProps } = useTooltipContext("TooltipTrigger");
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tooltip, TooltipProps } from "./Tooltip.js";
|
|
2
|
-
import { TooltipTrigger, TooltipTriggerProps } from "./components/TooltipTrigger.js";
|
|
3
|
-
import { TooltipContent, TooltipContentProps } from "./components/TooltipContent.js";
|
|
2
|
+
import { TooltipTrigger, TooltipTriggerOwnProps, TooltipTriggerProps } from "./components/TooltipTrigger.js";
|
|
3
|
+
import { TooltipContent, TooltipContentOwnProps, TooltipContentProps } from "./components/TooltipContent.js";
|
|
4
4
|
import { TooltipPlacement } from "./types.js";
|
|
5
|
-
export { Tooltip, TooltipContent, type TooltipContentProps, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps };
|
|
5
|
+
export { Tooltip, TooltipContent, type TooltipContentOwnProps, type TooltipContentProps, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerOwnProps, type TooltipTriggerProps };
|
|
@@ -3,28 +3,32 @@ import { TextStyleName } from "@tide-design/foundation";
|
|
|
3
3
|
type HeadingVariant = Extract<TextStyleName, `display-${string}` | `heading-${string}`>;
|
|
4
4
|
type TextVariant = Exclude<TextStyleName, HeadingVariant>;
|
|
5
5
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
-
interface
|
|
6
|
+
interface TypographyElementProps extends HTMLAttributes<HTMLElement> {
|
|
7
7
|
/** 루트 DOM 요소에 연결한다. */
|
|
8
8
|
ref?: Ref<HTMLElement>;
|
|
9
|
+
}
|
|
10
|
+
interface TypographyRenderProps {
|
|
9
11
|
/** 다른 요소로 렌더한다. 예: `render={<label htmlFor="name" />}`. 이때 `level`은 무시한다. */
|
|
10
12
|
render?: ReactElement;
|
|
11
13
|
}
|
|
12
|
-
interface TypographyHeadingProps extends
|
|
14
|
+
interface TypographyHeadingProps extends TypographyRenderProps {
|
|
13
15
|
/** 텍스트 스타일 이름 */
|
|
14
16
|
variant: HeadingVariant;
|
|
15
17
|
/** 제목 단계. 주지 않으면 텍스트 스타일의 기본 단계를 쓴다. */
|
|
16
18
|
level?: HeadingLevel;
|
|
17
19
|
}
|
|
18
|
-
interface TypographyTextProps extends
|
|
20
|
+
interface TypographyTextProps extends TypographyRenderProps {
|
|
19
21
|
/** 텍스트 스타일 이름. 기본값 `body-md`. */
|
|
20
22
|
variant?: TextVariant;
|
|
21
23
|
/** heading·display 텍스트 스타일에만 있다. */
|
|
22
24
|
level?: never;
|
|
23
25
|
}
|
|
24
|
-
export type
|
|
26
|
+
export type TypographyOwnProps = TypographyHeadingProps | TypographyTextProps;
|
|
27
|
+
export type TypographyProps = TypographyOwnProps & Omit<TypographyElementProps, keyof TypographyOwnProps>;
|
|
25
28
|
/**
|
|
26
29
|
* 텍스트 스타일 하나로 크기·행간·굵기를 정하고 알맞은 시맨틱 요소로 렌더한다.
|
|
27
30
|
* heading·display는 항상 `<h*>`다. 다른 요소는 `render`로. 서버 컴포넌트로 쓸 수 있다.
|
|
31
|
+
* Tide props: `render`, `variant`, `level` ({@link TypographyOwnProps}). 나머지는 HTML 요소 속성.
|
|
28
32
|
*/
|
|
29
33
|
export declare function Typography({ variant, level, render, ...props }: TypographyProps): ReactElement;
|
|
30
34
|
export {};
|
|
@@ -36,6 +36,7 @@ const elementByVariant = {
|
|
|
36
36
|
/**
|
|
37
37
|
* 텍스트 스타일 하나로 크기·행간·굵기를 정하고 알맞은 시맨틱 요소로 렌더한다.
|
|
38
38
|
* heading·display는 항상 `<h*>`다. 다른 요소는 `render`로. 서버 컴포넌트로 쓸 수 있다.
|
|
39
|
+
* Tide props: `render`, `variant`, `level` ({@link TypographyOwnProps}). 나머지는 HTML 요소 속성.
|
|
39
40
|
*/
|
|
40
41
|
function Typography({ variant = "body-md", level, render, ...props }) {
|
|
41
42
|
const element = elementByVariant[variant];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Typography, TypographyProps } from "./Typography.js";
|
|
2
|
-
export { Typography, type TypographyProps };
|
|
1
|
+
import { Typography, TypographyOwnProps, TypographyProps } from "./Typography.js";
|
|
2
|
+
export { Typography, type TypographyOwnProps, type TypographyProps };
|
|
@@ -2,10 +2,11 @@ import { CollectionSectionProps, CollectionValueItemProps } from "../../libs/lis
|
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
3
|
import "react-stately";
|
|
4
4
|
/** 옵션 Component(Select·Combobox 옵션)의 props. 옵션 요소는 `<div role="option">`이다. */
|
|
5
|
-
export interface
|
|
5
|
+
export interface ListBoxOptionOwnProps extends CollectionValueItemProps {
|
|
6
6
|
/** 옵션 내용. 아이콘(장식용)과 글자를 함께 둘 수 있다. Select 트리거에도 이 내용이 보인다. */
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
}
|
|
9
|
+
export interface ListBoxOptionProps extends ListBoxOptionOwnProps, Omit<ComponentProps<"div">, keyof ListBoxOptionOwnProps | "role"> {}
|
|
9
10
|
/** 옵션 묶음 Component의 props */
|
|
10
11
|
export interface ListBoxSectionProps extends CollectionSectionProps {
|
|
11
12
|
/** 묶음 감싸개(`<div role="presentation">`)에 붙는 class */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
1
|
import { cn } from "./_internal/libs/cn.js";
|
|
2
2
|
import { VisuallyHidden, VisuallyHiddenProps } from "./VisuallyHidden/VisuallyHidden.js";
|
|
3
3
|
import "./VisuallyHidden/index.js";
|
|
4
|
-
import { Typography, TypographyProps } from "./Typography/Typography.js";
|
|
4
|
+
import { Typography, TypographyOwnProps, TypographyProps } from "./Typography/Typography.js";
|
|
5
5
|
import "./Typography/index.js";
|
|
6
6
|
import "./Spinner/index.js";
|
|
7
|
-
import { Spinner, SpinnerProps } from "./Spinner/Spinner.js";
|
|
7
|
+
import { Spinner, SpinnerOwnProps, SpinnerProps } from "./Spinner/Spinner.js";
|
|
8
8
|
import "./Button/index.js";
|
|
9
|
-
import { Button, ButtonProps } from "./Button/Button.js";
|
|
9
|
+
import { Button, ButtonOwnProps, ButtonProps } from "./Button/Button.js";
|
|
10
10
|
import "./IconButton/index.js";
|
|
11
|
-
import { IconButton, IconButtonProps } from "./IconButton/IconButton.js";
|
|
11
|
+
import { IconButton, IconButtonOwnProps, IconButtonProps } from "./IconButton/IconButton.js";
|
|
12
12
|
import "./Link/index.js";
|
|
13
|
-
import { Link, LinkProps } from "./Link/Link.js";
|
|
13
|
+
import { Link, LinkOwnProps, LinkProps } from "./Link/Link.js";
|
|
14
14
|
import "./Field/index.js";
|
|
15
|
-
import { Field, FieldProps } from "./Field/Field.js";
|
|
15
|
+
import { Field, FieldOwnProps, FieldProps } from "./Field/Field.js";
|
|
16
16
|
import "./Input/index.js";
|
|
17
|
-
import { Input, InputProps } from "./Input/Input.js";
|
|
17
|
+
import { Input, InputOwnProps, InputProps } from "./Input/Input.js";
|
|
18
18
|
import "./Textarea/index.js";
|
|
19
|
-
import { Textarea, TextareaProps } from "./Textarea/Textarea.js";
|
|
19
|
+
import { Textarea, TextareaOwnProps, TextareaProps } from "./Textarea/Textarea.js";
|
|
20
20
|
import "./Checkbox/index.js";
|
|
21
|
-
import { Checkbox, CheckboxProps } from "./Checkbox/Checkbox.js";
|
|
21
|
+
import { Checkbox, CheckboxOwnProps, CheckboxProps } from "./Checkbox/Checkbox.js";
|
|
22
22
|
import "./CheckboxGroup/index.js";
|
|
23
23
|
import { ChoiceOrientation } from "./_internal/constants/choiceGroupClass.js";
|
|
24
|
-
import { CheckboxGroup, CheckboxGroupProps } from "./CheckboxGroup/CheckboxGroup.js";
|
|
24
|
+
import { CheckboxGroup, CheckboxGroupOwnProps, CheckboxGroupProps } from "./CheckboxGroup/CheckboxGroup.js";
|
|
25
25
|
import "./Radio/index.js";
|
|
26
|
-
import { Radio, RadioProps } from "./Radio/Radio.js";
|
|
26
|
+
import { Radio, RadioOwnProps, RadioProps } from "./Radio/Radio.js";
|
|
27
27
|
import "./RadioGroup/index.js";
|
|
28
|
-
import { RadioGroup, RadioGroupProps } from "./RadioGroup/RadioGroup.js";
|
|
28
|
+
import { RadioGroup, RadioGroupOwnProps, RadioGroupProps } from "./RadioGroup/RadioGroup.js";
|
|
29
29
|
import "./Switch/index.js";
|
|
30
|
-
import { Switch, SwitchProps } from "./Switch/Switch.js";
|
|
30
|
+
import { Switch, SwitchOwnProps, SwitchProps } from "./Switch/Switch.js";
|
|
31
31
|
import "./Alert/index.js";
|
|
32
|
-
import { Alert, AlertProps } from "./Alert/Alert.js";
|
|
32
|
+
import { Alert, AlertOwnProps, AlertProps } from "./Alert/Alert.js";
|
|
33
33
|
import "./Avatar/index.js";
|
|
34
|
-
import { Avatar, AvatarProps } from "./Avatar/Avatar.js";
|
|
34
|
+
import { Avatar, AvatarOwnProps, AvatarProps } from "./Avatar/Avatar.js";
|
|
35
35
|
import "./Badge/index.js";
|
|
36
|
-
import { Badge, BadgeProps } from "./Badge/Badge.js";
|
|
36
|
+
import { Badge, BadgeOwnProps, BadgeProps } from "./Badge/Badge.js";
|
|
37
37
|
import "./Card/index.js";
|
|
38
|
-
import { Card, CardProps } from "./Card/Card.js";
|
|
38
|
+
import { Card, CardOwnProps, CardProps } from "./Card/Card.js";
|
|
39
39
|
import "./Separator/index.js";
|
|
40
|
-
import { Separator, SeparatorProps } from "./Separator/Separator.js";
|
|
40
|
+
import { Separator, SeparatorOwnProps, SeparatorProps } from "./Separator/Separator.js";
|
|
41
41
|
import "./Skeleton/index.js";
|
|
42
|
-
import { Skeleton, SkeletonProps } from "./Skeleton/Skeleton.js";
|
|
42
|
+
import { Skeleton, SkeletonOwnProps, SkeletonProps } from "./Skeleton/Skeleton.js";
|
|
43
43
|
import "./Progress/index.js";
|
|
44
|
-
import { Progress, ProgressProps } from "./Progress/Progress.js";
|
|
44
|
+
import { Progress, ProgressOwnProps, ProgressProps } from "./Progress/Progress.js";
|
|
45
45
|
import "./Table/index.js";
|
|
46
46
|
import { Table, TableProps } from "./Table/Table.js";
|
|
47
47
|
import { TableHead, TableHeadProps } from "./Table/components/TableHead.js";
|
|
48
48
|
import { TableBody, TableBodyProps } from "./Table/components/TableBody.js";
|
|
49
49
|
import { TableRow, TableRowProps } from "./Table/components/TableRow.js";
|
|
50
|
-
import { TableHeaderCell, TableHeaderCellProps } from "./Table/components/TableHeaderCell.js";
|
|
50
|
+
import { TableHeaderCell, TableHeaderCellOwnProps, TableHeaderCellProps } from "./Table/components/TableHeaderCell.js";
|
|
51
51
|
import { TableCell, TableCellProps } from "./Table/components/TableCell.js";
|
|
52
52
|
import "./Breadcrumb/index.js";
|
|
53
|
-
import { Breadcrumb, BreadcrumbProps } from "./Breadcrumb/Breadcrumb.js";
|
|
53
|
+
import { Breadcrumb, BreadcrumbOwnProps, BreadcrumbProps } from "./Breadcrumb/Breadcrumb.js";
|
|
54
54
|
import { BreadcrumbItem, BreadcrumbItemProps } from "./Breadcrumb/components/BreadcrumbItem.js";
|
|
55
|
-
import { BreadcrumbLink, BreadcrumbLinkProps } from "./Breadcrumb/components/BreadcrumbLink.js";
|
|
55
|
+
import { BreadcrumbLink, BreadcrumbLinkOwnProps, BreadcrumbLinkProps } from "./Breadcrumb/components/BreadcrumbLink.js";
|
|
56
56
|
import { BreadcrumbCurrent, BreadcrumbCurrentProps } from "./Breadcrumb/components/BreadcrumbCurrent.js";
|
|
57
57
|
import "./Pagination/index.js";
|
|
58
|
-
import { Pagination, PaginationProps } from "./Pagination/Pagination.js";
|
|
58
|
+
import { Pagination, PaginationOwnProps, PaginationProps } from "./Pagination/Pagination.js";
|
|
59
59
|
import { PaginationItem, PaginationItemProps } from "./Pagination/components/PaginationItem.js";
|
|
60
|
-
import { PaginationLink, PaginationLinkProps } from "./Pagination/components/PaginationLink.js";
|
|
61
|
-
import { PaginationPrevious, PaginationPreviousProps } from "./Pagination/components/PaginationPrevious.js";
|
|
62
|
-
import { PaginationNext, PaginationNextProps } from "./Pagination/components/PaginationNext.js";
|
|
63
|
-
import { PaginationEllipsis, PaginationEllipsisProps } from "./Pagination/components/PaginationEllipsis.js";
|
|
60
|
+
import { PaginationLink, PaginationLinkOwnProps, PaginationLinkProps } from "./Pagination/components/PaginationLink.js";
|
|
61
|
+
import { PaginationPrevious, PaginationPreviousOwnProps, PaginationPreviousProps } from "./Pagination/components/PaginationPrevious.js";
|
|
62
|
+
import { PaginationNext, PaginationNextOwnProps, PaginationNextProps } from "./Pagination/components/PaginationNext.js";
|
|
63
|
+
import { PaginationEllipsis, PaginationEllipsisOwnProps, PaginationEllipsisProps } from "./Pagination/components/PaginationEllipsis.js";
|
|
64
64
|
import "./Menu/index.js";
|
|
65
65
|
import { Menu, MenuProps } from "./Menu/Menu.js";
|
|
66
|
-
import { MenuTrigger, MenuTriggerProps } from "./Menu/components/MenuTrigger.js";
|
|
66
|
+
import { MenuTrigger, MenuTriggerOwnProps, MenuTriggerProps } from "./Menu/components/MenuTrigger.js";
|
|
67
67
|
import { MenuPlacement } from "./Menu/types.js";
|
|
68
|
-
import { MenuContent, MenuContentProps } from "./Menu/components/MenuContent.js";
|
|
69
|
-
import { MenuItem, MenuItemProps } from "./Menu/components/MenuItem.js";
|
|
68
|
+
import { MenuContent, MenuContentOwnProps, MenuContentProps } from "./Menu/components/MenuContent.js";
|
|
69
|
+
import { MenuItem, MenuItemOwnProps, MenuItemProps } from "./Menu/components/MenuItem.js";
|
|
70
70
|
import { MenuSection, MenuSectionProps } from "./Menu/components/MenuSection.js";
|
|
71
71
|
import "./Popover/index.js";
|
|
72
72
|
import { Popover, PopoverProps } from "./Popover/Popover.js";
|
|
73
|
-
import { PopoverTrigger, PopoverTriggerProps } from "./Popover/components/PopoverTrigger.js";
|
|
73
|
+
import { PopoverTrigger, PopoverTriggerOwnProps, PopoverTriggerProps } from "./Popover/components/PopoverTrigger.js";
|
|
74
74
|
import { PopoverPlacement } from "./Popover/types.js";
|
|
75
|
-
import { PopoverContent, PopoverContentProps } from "./Popover/components/PopoverContent.js";
|
|
75
|
+
import { PopoverContent, PopoverContentOwnProps, PopoverContentProps } from "./Popover/components/PopoverContent.js";
|
|
76
76
|
import "./Combobox/index.js";
|
|
77
|
-
import { Combobox, ComboboxProps } from "./Combobox/Combobox.js";
|
|
78
|
-
import { ComboboxItem, ComboboxItemProps } from "./Combobox/components/ComboboxItem.js";
|
|
77
|
+
import { Combobox, ComboboxOwnProps, ComboboxProps } from "./Combobox/Combobox.js";
|
|
78
|
+
import { ComboboxItem, ComboboxItemOwnProps, ComboboxItemProps } from "./Combobox/components/ComboboxItem.js";
|
|
79
79
|
import { ComboboxSection, ComboboxSectionProps } from "./Combobox/components/ComboboxSection.js";
|
|
80
80
|
import "./Select/index.js";
|
|
81
|
-
import { Select, SelectProps } from "./Select/Select.js";
|
|
82
|
-
import { SelectItem, SelectItemProps } from "./Select/components/SelectItem.js";
|
|
81
|
+
import { Select, SelectOwnProps, SelectProps } from "./Select/Select.js";
|
|
82
|
+
import { SelectItem, SelectItemOwnProps, SelectItemProps } from "./Select/components/SelectItem.js";
|
|
83
83
|
import { SelectSection, SelectSectionProps } from "./Select/components/SelectSection.js";
|
|
84
84
|
import "./AlertDialog/index.js";
|
|
85
85
|
import { DialogProps } from "./_internal/components/DialogRoot.js";
|
|
86
86
|
import { AlertDialog, AlertDialogProps } from "./AlertDialog/AlertDialog.js";
|
|
87
87
|
import "./Dialog/index.js";
|
|
88
88
|
import { Dialog } from "./Dialog/Dialog.js";
|
|
89
|
-
import { DialogTrigger, DialogTriggerProps } from "./Dialog/components/DialogTrigger.js";
|
|
89
|
+
import { DialogTrigger, DialogTriggerOwnProps, DialogTriggerProps } from "./Dialog/components/DialogTrigger.js";
|
|
90
90
|
import { DialogSize } from "./Dialog/types.js";
|
|
91
|
-
import { DialogContent, DialogContentProps } from "./Dialog/components/DialogContent.js";
|
|
91
|
+
import { DialogContent, DialogContentOwnProps, DialogContentProps } from "./Dialog/components/DialogContent.js";
|
|
92
92
|
import { DialogTitle, DialogTitleProps } from "./Dialog/components/DialogTitle.js";
|
|
93
93
|
import { DialogDescription, DialogDescriptionProps } from "./Dialog/components/DialogDescription.js";
|
|
94
94
|
import { DialogFooter, DialogFooterProps } from "./Dialog/components/DialogFooter.js";
|
|
95
|
-
import { DialogClose, DialogCloseProps } from "./Dialog/components/DialogClose.js";
|
|
95
|
+
import { DialogClose, DialogCloseOwnProps, DialogCloseProps } from "./Dialog/components/DialogClose.js";
|
|
96
96
|
import "./Accordion/index.js";
|
|
97
|
-
import { Accordion, AccordionProps } from "./Accordion/Accordion.js";
|
|
98
|
-
import { AccordionItem, AccordionItemProps } from "./Accordion/components/AccordionItem.js";
|
|
97
|
+
import { Accordion, AccordionOwnProps, AccordionProps } from "./Accordion/Accordion.js";
|
|
98
|
+
import { AccordionItem, AccordionItemOwnProps, AccordionItemProps } from "./Accordion/components/AccordionItem.js";
|
|
99
99
|
import { AccordionHeadingLevel } from "./Accordion/types.js";
|
|
100
|
-
import { AccordionTrigger, AccordionTriggerProps } from "./Accordion/components/AccordionTrigger.js";
|
|
101
|
-
import { AccordionPanel, AccordionPanelProps } from "./Accordion/components/AccordionPanel.js";
|
|
100
|
+
import { AccordionTrigger, AccordionTriggerOwnProps, AccordionTriggerProps } from "./Accordion/components/AccordionTrigger.js";
|
|
101
|
+
import { AccordionPanel, AccordionPanelOwnProps, AccordionPanelProps } from "./Accordion/components/AccordionPanel.js";
|
|
102
102
|
import "./Tabs/index.js";
|
|
103
103
|
import { TabsActivationMode, TabsOrientation } from "./Tabs/types.js";
|
|
104
|
-
import { Tabs, TabsProps } from "./Tabs/Tabs.js";
|
|
105
|
-
import { TabList, TabListProps } from "./Tabs/components/TabList.js";
|
|
106
|
-
import { Tab, TabProps } from "./Tabs/components/Tab.js";
|
|
107
|
-
import { TabPanel, TabPanelProps } from "./Tabs/components/TabPanel.js";
|
|
104
|
+
import { Tabs, TabsOwnProps, TabsProps } from "./Tabs/Tabs.js";
|
|
105
|
+
import { TabList, TabListOwnProps, TabListProps } from "./Tabs/components/TabList.js";
|
|
106
|
+
import { Tab, TabOwnProps, TabProps } from "./Tabs/components/Tab.js";
|
|
107
|
+
import { TabPanel, TabPanelOwnProps, TabPanelProps } from "./Tabs/components/TabPanel.js";
|
|
108
108
|
import "./Tag/index.js";
|
|
109
|
-
import { Tag, TagProps } from "./Tag/Tag.js";
|
|
110
|
-
import { TagGroup, TagGroupProps } from "./Tag/components/TagGroup.js";
|
|
109
|
+
import { Tag, TagOwnProps, TagProps } from "./Tag/Tag.js";
|
|
110
|
+
import { TagGroup, TagGroupOwnProps, TagGroupProps } from "./Tag/components/TagGroup.js";
|
|
111
111
|
import "./Toast/index.js";
|
|
112
112
|
import { ToastAction, ToastOptions, ToastQueueOptions } from "./Toast/types.js";
|
|
113
113
|
import { ToastQueue } from "./Toast/libs/toastQueue.js";
|
|
114
|
-
import { ToastRegion, ToastRegionProps } from "./Toast/Toast.js";
|
|
114
|
+
import { ToastRegion, ToastRegionOwnProps, ToastRegionProps } from "./Toast/Toast.js";
|
|
115
115
|
import "./Tooltip/index.js";
|
|
116
116
|
import { Tooltip, TooltipProps } from "./Tooltip/Tooltip.js";
|
|
117
|
-
import { TooltipTrigger, TooltipTriggerProps } from "./Tooltip/components/TooltipTrigger.js";
|
|
117
|
+
import { TooltipTrigger, TooltipTriggerOwnProps, TooltipTriggerProps } from "./Tooltip/components/TooltipTrigger.js";
|
|
118
118
|
import { TooltipPlacement } from "./Tooltip/types.js";
|
|
119
|
-
import { TooltipContent, TooltipContentProps } from "./Tooltip/components/TooltipContent.js";
|
|
119
|
+
import { TooltipContent, TooltipContentOwnProps, TooltipContentProps } from "./Tooltip/components/TooltipContent.js";
|
|
120
120
|
import { Color, ColorFamilyName, ColorFamilyRegistry, FillVariant, Role, RoleRegistry, Size } from "./types.js";
|
|
121
|
-
export { Accordion, type AccordionHeadingLevel, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, Avatar, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbCurrent, type BreadcrumbCurrentProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbProps, Button, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ChoiceOrientation, type Color, type ColorFamilyName, type ColorFamilyRegistry, Combobox, ComboboxItem, type ComboboxItemProps, type ComboboxProps, ComboboxSection, type ComboboxSectionProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, type DialogProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Field, type FieldProps, type FillVariant, IconButton, type IconButtonProps, Input, type InputProps, Link, type LinkProps, Menu, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, type MenuPlacement, type MenuProps, MenuSection, type MenuSectionProps, MenuTrigger, type MenuTriggerProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type Role, type RoleRegistry, Select, SelectItem, type SelectItemProps, type SelectProps, SelectSection, type SelectSectionProps, Separator, type SeparatorProps, type Size, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsActivationMode, type TabsOrientation, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Textarea, type TextareaProps, type ToastAction, type ToastOptions, ToastQueue, type ToastQueueOptions, ToastRegion, type ToastRegionProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Typography, type TypographyProps, VisuallyHidden, type VisuallyHiddenProps, cn };
|
|
121
|
+
export { Accordion, type AccordionHeadingLevel, AccordionItem, type AccordionItemOwnProps, type AccordionItemProps, type AccordionOwnProps, AccordionPanel, type AccordionPanelOwnProps, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerOwnProps, type AccordionTriggerProps, Alert, AlertDialog, type AlertDialogProps, type AlertOwnProps, type AlertProps, Avatar, type AvatarOwnProps, type AvatarProps, Badge, type BadgeOwnProps, type BadgeProps, Breadcrumb, BreadcrumbCurrent, type BreadcrumbCurrentProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkOwnProps, type BreadcrumbLinkProps, type BreadcrumbOwnProps, type BreadcrumbProps, Button, type ButtonOwnProps, type ButtonProps, Card, type CardOwnProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupOwnProps, type CheckboxGroupProps, type CheckboxOwnProps, type CheckboxProps, type ChoiceOrientation, type Color, type ColorFamilyName, type ColorFamilyRegistry, Combobox, ComboboxItem, type ComboboxItemOwnProps, type ComboboxItemProps, type ComboboxOwnProps, type ComboboxProps, ComboboxSection, type ComboboxSectionProps, Dialog, DialogClose, type DialogCloseOwnProps, type DialogCloseProps, DialogContent, type DialogContentOwnProps, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, type DialogProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerOwnProps, type DialogTriggerProps, Field, type FieldOwnProps, type FieldProps, type FillVariant, IconButton, type IconButtonOwnProps, type IconButtonProps, Input, type InputOwnProps, type InputProps, Link, type LinkOwnProps, type LinkProps, Menu, MenuContent, type MenuContentOwnProps, type MenuContentProps, MenuItem, type MenuItemOwnProps, type MenuItemProps, type MenuPlacement, type MenuProps, MenuSection, type MenuSectionProps, MenuTrigger, type MenuTriggerOwnProps, type MenuTriggerProps, Pagination, PaginationEllipsis, type PaginationEllipsisOwnProps, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkOwnProps, type PaginationLinkProps, PaginationNext, type PaginationNextOwnProps, type PaginationNextProps, type PaginationOwnProps, PaginationPrevious, type PaginationPreviousOwnProps, type PaginationPreviousProps, type PaginationProps, Popover, PopoverContent, type PopoverContentOwnProps, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerOwnProps, type PopoverTriggerProps, Progress, type ProgressOwnProps, type ProgressProps, Radio, RadioGroup, type RadioGroupOwnProps, type RadioGroupProps, type RadioOwnProps, type RadioProps, type Role, type RoleRegistry, Select, SelectItem, type SelectItemOwnProps, type SelectItemProps, type SelectOwnProps, type SelectProps, SelectSection, type SelectSectionProps, Separator, type SeparatorOwnProps, type SeparatorProps, type Size, Skeleton, type SkeletonOwnProps, type SkeletonProps, Spinner, type SpinnerOwnProps, type SpinnerProps, Switch, type SwitchOwnProps, type SwitchProps, Tab, TabList, type TabListOwnProps, type TabListProps, type TabOwnProps, TabPanel, type TabPanelOwnProps, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellOwnProps, type TableHeaderCellProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsActivationMode, type TabsOrientation, type TabsOwnProps, type TabsProps, Tag, TagGroup, type TagGroupOwnProps, type TagGroupProps, type TagOwnProps, type TagProps, Textarea, type TextareaOwnProps, type TextareaProps, type ToastAction, type ToastOptions, ToastQueue, type ToastQueueOptions, ToastRegion, type ToastRegionOwnProps, type ToastRegionProps, Tooltip, TooltipContent, type TooltipContentOwnProps, type TooltipContentProps, type TooltipPlacement, type TooltipProps, TooltipTrigger, type TooltipTriggerOwnProps, type TooltipTriggerProps, Typography, type TypographyOwnProps, type TypographyProps, VisuallyHidden, type VisuallyHiddenProps, cn };
|
package/package.json
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tide-design/components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"description": "Tide 디자인 시스템의 React Component",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"accessibility",
|
|
7
|
+
"design-system",
|
|
8
|
+
"react",
|
|
9
|
+
"react-aria",
|
|
10
|
+
"react-components",
|
|
11
|
+
"tailwindcss",
|
|
12
|
+
"tide",
|
|
13
|
+
"tide-design",
|
|
14
|
+
"ui"
|
|
15
|
+
],
|
|
5
16
|
"license": "MIT",
|
|
6
17
|
"repository": {
|
|
7
18
|
"type": "git",
|
|
@@ -23,8 +34,8 @@
|
|
|
23
34
|
"./styles.css": "./dist/styles.css"
|
|
24
35
|
},
|
|
25
36
|
"dependencies": {
|
|
26
|
-
"@tide-design/foundation": "0.11.
|
|
27
|
-
"@tide-design/icons": "0.11.
|
|
37
|
+
"@tide-design/foundation": "0.11.5",
|
|
38
|
+
"@tide-design/icons": "0.11.5",
|
|
28
39
|
"clsx": "^2.1.1",
|
|
29
40
|
"react-aria": "^3.53.1",
|
|
30
41
|
"react-stately": "^3.51.0",
|