@tide-design/components 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ "use client";
2
+
3
+ import { useDialogContext } from "../../_internal/hooks/useDialogContext.js";
4
+ import { IconButton } from "../../IconButton/IconButton.js";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { XIcon } from "@tide-design/icons";
7
+
8
+ // src/Dialog/components/DialogCloseButton.tsx
9
+ /** Dialog 끝 위쪽의 아이콘 닫기 버튼. */
10
+ function DialogCloseButton({ label, className }) {
11
+ const { state } = useDialogContext("DialogCloseButton");
12
+ return /* @__PURE__ */ jsx(IconButton, {
13
+ "aria-label": label,
14
+ variant: "ghost",
15
+ color: "neutral",
16
+ size: "sm",
17
+ onClick: state.close,
18
+ className,
19
+ children: /* @__PURE__ */ jsx(XIcon, {})
20
+ });
21
+ }
22
+
23
+ export { DialogCloseButton };
@@ -2,12 +2,11 @@
2
2
 
3
3
  import { useOverlayTheme } from "../../_internal/hooks/useOverlayTheme.js";
4
4
  import { cn } from "../../_internal/libs/cn.js";
5
- import { IconButton } from "../../IconButton/IconButton.js";
6
5
  import { backdropClass, contentClass, sizeClass } from "../constants/dialogClass.js";
7
6
  import { DialogPartsContext } from "../hooks/useDialogPartsContext.js";
7
+ import { DialogCloseButton } from "./DialogCloseButton.js";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { useEffect, useMemo, useRef, useState } from "react";
10
- import { XIcon } from "@tide-design/icons";
11
10
  import { mergeProps, mergeRefs, useDialog, useFocusManager, useModalOverlay } from "react-aria";
12
11
 
13
12
  // src/Dialog/components/DialogContentInner.tsx
@@ -17,6 +16,7 @@ function DialogContentInner({ context, backdropRef, size = "md", closeLabel = "
17
16
  const dialogRef = useRef(null);
18
17
  const [titleId, setTitleId] = useState(null);
19
18
  const [descriptionId, setDescriptionId] = useState(null);
19
+ const [hasHeader, setHasHeader] = useState(false);
20
20
  useOverlayTheme(triggerRef, backdropRef);
21
21
  const { modalProps, underlayProps } = useModalOverlay({ isDismissable: !alert }, state, dialogRef);
22
22
  const labelledBy = props["aria-labelledby"] ?? (props["aria-label"] ? void 0 : titleId ?? triggerId ?? void 0);
@@ -34,9 +34,16 @@ function DialogContentInner({ context, backdropRef, size = "md", closeLabel = "
34
34
  const mergedRef = useMemo(() => mergeRefs(ref, dialogRef), [ref]);
35
35
  const parts = useMemo(() => ({
36
36
  alert,
37
+ closeLabel,
38
+ hasHeader,
39
+ setHasHeader,
37
40
  setTitleId,
38
41
  setDescriptionId
39
- }), [alert]);
42
+ }), [
43
+ alert,
44
+ closeLabel,
45
+ hasHeader
46
+ ]);
40
47
  const open = state.isOpen ? "" : void 0;
41
48
  return /* @__PURE__ */ jsx("div", {
42
49
  ...underlayProps,
@@ -52,14 +59,9 @@ function DialogContentInner({ context, backdropRef, size = "md", closeLabel = "
52
59
  children: [/* @__PURE__ */ jsx(DialogPartsContext, {
53
60
  value: parts,
54
61
  children
55
- }), !alert && /* @__PURE__ */ jsx(IconButton, {
56
- "aria-label": closeLabel,
57
- variant: "ghost",
58
- color: "neutral",
59
- size: "sm",
60
- onClick: state.close,
61
- className: "absolute end-5 top-5",
62
- children: /* @__PURE__ */ jsx(XIcon, {})
62
+ }), !alert && !hasHeader && /* @__PURE__ */ jsx(DialogCloseButton, {
63
+ label: closeLabel,
64
+ className: "absolute end-5 top-5"
63
65
  })]
64
66
  })
65
67
  });
@@ -0,0 +1,13 @@
1
+ import { ComponentProps, ReactElement } from "react";
2
+ export type DialogHeaderAlign = "start" | "center";
3
+ export interface DialogHeaderOwnProps {
4
+ /** 닫기 버튼의 세로 정렬. `start`(기본값)는 제목 첫 줄, `center`는 한 줄 내용(입력 등)의 가운데다. */
5
+ align?: DialogHeaderAlign;
6
+ }
7
+ export interface DialogHeaderProps extends DialogHeaderOwnProps, Omit<ComponentProps<"div">, keyof DialogHeaderOwnProps> {}
8
+ /**
9
+ * 제목이나 입력과 닫기 버튼을 한 줄에 놓는 머리. 있으면 `DialogContent`의 기본 닫기 버튼을 대신한다.
10
+ * AlertDialog에서는 닫기 버튼이 없다.
11
+ * Tide props: `align` ({@link DialogHeaderOwnProps}). 나머지는 `<div>` 속성.
12
+ */
13
+ export declare function DialogHeader({ align, className, children, ...props }: DialogHeaderProps): ReactElement;
@@ -0,0 +1,34 @@
1
+ "use client";
2
+
3
+ import { cn } from "../../_internal/libs/cn.js";
4
+ import { useDialogPartsContext } from "../hooks/useDialogPartsContext.js";
5
+ import { DialogCloseButton } from "./DialogCloseButton.js";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { useLayoutEffect } from "react";
8
+
9
+ // src/Dialog/components/DialogHeader.tsx
10
+ /**
11
+ * 제목이나 입력과 닫기 버튼을 한 줄에 놓는 머리. 있으면 `DialogContent`의 기본 닫기 버튼을 대신한다.
12
+ * AlertDialog에서는 닫기 버튼이 없다.
13
+ * Tide props: `align` ({@link DialogHeaderOwnProps}). 나머지는 `<div>` 속성.
14
+ */
15
+ function DialogHeader({ align = "start", className, children, ...props }) {
16
+ const { alert, closeLabel, setHasHeader } = useDialogPartsContext("DialogHeader");
17
+ useLayoutEffect(() => {
18
+ setHasHeader(true);
19
+ return () => setHasHeader(false);
20
+ }, [setHasHeader]);
21
+ return /* @__PURE__ */ jsxs("div", {
22
+ ...props,
23
+ className: cn("flex gap-3", align === "center" ? "items-center" : "items-start", className),
24
+ children: [/* @__PURE__ */ jsx("div", {
25
+ className: "flex min-w-0 flex-1 flex-col gap-4",
26
+ children
27
+ }), !alert && /* @__PURE__ */ jsx(DialogCloseButton, {
28
+ label: closeLabel,
29
+ className: align === "start" ? "-my-0.5" : "shrink-0"
30
+ })]
31
+ });
32
+ }
33
+
34
+ export { DialogHeader };
@@ -2,6 +2,6 @@ import { ComponentProps, ReactElement } from "react";
2
2
  export type DialogTitleProps = ComponentProps<"h2">;
3
3
  /**
4
4
  * Dialog 제목(`<h2>`, `text-heading-sm`). 있으면 dialog의 `aria-labelledby`가 가리켜 이름이 된다.
5
- * Dialog에서는 끝쪽 닫기 버튼과 겹치지 않게 끝 여백(36px)을 둔다.
5
+ * `DialogHeader` 밖에서는 끝쪽 닫기 버튼과 겹치지 않게 끝 여백(36px)을 둔다.
6
6
  */
7
7
  export declare function DialogTitle({ id, className, ...props }: DialogTitleProps): ReactElement;
@@ -8,15 +8,15 @@ import { jsx } from "react/jsx-runtime";
8
8
  // src/Dialog/components/DialogTitle.tsx
9
9
  /**
10
10
  * Dialog 제목(`<h2>`, `text-heading-sm`). 있으면 dialog의 `aria-labelledby`가 가리켜 이름이 된다.
11
- * Dialog에서는 끝쪽 닫기 버튼과 겹치지 않게 끝 여백(36px)을 둔다.
11
+ * `DialogHeader` 밖에서는 끝쪽 닫기 버튼과 겹치지 않게 끝 여백(36px)을 둔다.
12
12
  */
13
13
  function DialogTitle({ id, className, ...props }) {
14
- const { alert, setTitleId } = useDialogPartsContext("DialogTitle");
14
+ const { alert, hasHeader, setTitleId } = useDialogPartsContext("DialogTitle");
15
15
  const resolvedId = usePartId(id, setTitleId);
16
16
  return /* @__PURE__ */ jsx("h2", {
17
17
  ...props,
18
18
  id: resolvedId,
19
- className: cn("text-heading-sm text-default", !alert && "pe-9", className)
19
+ className: cn("text-heading-sm text-default", !alert && !hasHeader && "pe-9", className)
20
20
  });
21
21
  }
22
22
 
@@ -3,8 +3,9 @@ import { Dialog } from "./Dialog.js";
3
3
  import { DialogTrigger, DialogTriggerOwnProps, DialogTriggerProps } from "./components/DialogTrigger.js";
4
4
  import { DialogSize } from "./types.js";
5
5
  import { DialogContent, DialogContentOwnProps, DialogContentProps } from "./components/DialogContent.js";
6
+ import { DialogHeader, DialogHeaderAlign, DialogHeaderOwnProps, DialogHeaderProps } from "./components/DialogHeader.js";
6
7
  import { DialogTitle, DialogTitleProps } from "./components/DialogTitle.js";
7
8
  import { DialogDescription, DialogDescriptionProps } from "./components/DialogDescription.js";
8
9
  import { DialogFooter, DialogFooterProps } from "./components/DialogFooter.js";
9
10
  import { DialogClose, DialogCloseOwnProps, DialogCloseProps } from "./components/DialogClose.js";
10
- export { 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 };
11
+ export { Dialog, DialogClose, type DialogCloseOwnProps, type DialogCloseProps, DialogContent, type DialogContentOwnProps, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderAlign, type DialogHeaderOwnProps, type DialogHeaderProps, type DialogProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerOwnProps, type DialogTriggerProps };
package/dist/index.d.ts CHANGED
@@ -89,6 +89,7 @@ import { Dialog } from "./Dialog/Dialog.js";
89
89
  import { DialogTrigger, DialogTriggerOwnProps, DialogTriggerProps } from "./Dialog/components/DialogTrigger.js";
90
90
  import { DialogSize } from "./Dialog/types.js";
91
91
  import { DialogContent, DialogContentOwnProps, DialogContentProps } from "./Dialog/components/DialogContent.js";
92
+ import { DialogHeader, DialogHeaderAlign, DialogHeaderOwnProps, DialogHeaderProps } from "./Dialog/components/DialogHeader.js";
92
93
  import { DialogTitle, DialogTitleProps } from "./Dialog/components/DialogTitle.js";
93
94
  import { DialogDescription, DialogDescriptionProps } from "./Dialog/components/DialogDescription.js";
94
95
  import { DialogFooter, DialogFooterProps } from "./Dialog/components/DialogFooter.js";
@@ -118,4 +119,4 @@ import { TooltipTrigger, TooltipTriggerOwnProps, TooltipTriggerProps } from "./T
118
119
  import { TooltipPlacement } from "./Tooltip/types.js";
119
120
  import { TooltipContent, TooltipContentOwnProps, TooltipContentProps } from "./Tooltip/components/TooltipContent.js";
120
121
  import { Color, ColorFamilyName, ColorFamilyRegistry, FillVariant, Role, RoleRegistry, Size } from "./types.js";
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, type TabsShape, 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 };
122
+ 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, DialogHeader, type DialogHeaderAlign, type DialogHeaderOwnProps, type DialogHeaderProps, 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, type TabsShape, 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/dist/index.js CHANGED
@@ -56,6 +56,7 @@ import { DialogClose } from "./Dialog/components/DialogClose.js";
56
56
  import { DialogContent } from "./Dialog/components/DialogContent.js";
57
57
  import { DialogDescription } from "./Dialog/components/DialogDescription.js";
58
58
  import { DialogFooter } from "./Dialog/components/DialogFooter.js";
59
+ import { DialogHeader } from "./Dialog/components/DialogHeader.js";
59
60
  import { DialogTitle } from "./Dialog/components/DialogTitle.js";
60
61
  import { DialogTrigger } from "./Dialog/components/DialogTrigger.js";
61
62
  import { Accordion } from "./Accordion/Accordion.js";
@@ -74,4 +75,4 @@ import { Tooltip } from "./Tooltip/Tooltip.js";
74
75
  import { TooltipContent } from "./Tooltip/components/TooltipContent.js";
75
76
  import { TooltipTrigger } from "./Tooltip/components/TooltipTrigger.js";
76
77
 
77
- export { Accordion, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertDialog, Avatar, Badge, Breadcrumb, BreadcrumbCurrent, BreadcrumbItem, BreadcrumbLink, Button, Card, Checkbox, CheckboxGroup, Combobox, ComboboxItem, ComboboxSection, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, Field, IconButton, Input, Link, Menu, MenuContent, MenuItem, MenuSection, MenuTrigger, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Progress, Radio, RadioGroup, Select, SelectItem, SelectSection, Separator, Skeleton, Spinner, Switch, Tab, TabList, TabPanel, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, Tabs, Tag, TagGroup, Textarea, ToastQueue, ToastRegion, Tooltip, TooltipContent, TooltipTrigger, Typography, VisuallyHidden, cn };
78
+ export { Accordion, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertDialog, Avatar, Badge, Breadcrumb, BreadcrumbCurrent, BreadcrumbItem, BreadcrumbLink, Button, Card, Checkbox, CheckboxGroup, Combobox, ComboboxItem, ComboboxSection, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Field, IconButton, Input, Link, Menu, MenuContent, MenuItem, MenuSection, MenuTrigger, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Progress, Radio, RadioGroup, Select, SelectItem, SelectSection, Separator, Skeleton, Spinner, Switch, Tab, TabList, TabPanel, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, Tabs, Tag, TagGroup, Textarea, ToastQueue, ToastRegion, Tooltip, TooltipContent, TooltipTrigger, Typography, VisuallyHidden, cn };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tide-design/components",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "Tide 디자인 시스템의 React Component",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -34,8 +34,8 @@
34
34
  "./styles.css": "./dist/styles.css"
35
35
  },
36
36
  "dependencies": {
37
- "@tide-design/foundation": "0.18.0",
38
- "@tide-design/icons": "0.18.0",
37
+ "@tide-design/foundation": "0.18.1",
38
+ "@tide-design/icons": "0.18.1",
39
39
  "clsx": "^2.1.1",
40
40
  "react-aria": "^3.53.1",
41
41
  "react-stately": "^3.51.0",