@t3q-ui/design-system 1.58.0 → 1.59.0

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/index.d.cts CHANGED
@@ -8,8 +8,8 @@ declare namespace class_variance_authority_types {
8
8
  }
9
9
  import { VariantProps } from 'class-variance-authority';
10
10
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
11
- import { B as BadgeProps } from './index-3laRfJM7.cjs';
12
- export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, Q as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, X as TwoLineCellRenderer, W as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, L as withExplicitSortIcons, O as withFlexFill, V as withHeaderMinWidth, T as withNumberColumnWidth, M as withSortIconOffset, U as withTypeClasses } from './index-3laRfJM7.cjs';
11
+ import { B as BadgeProps } from './index-CHnIxzU2.cjs';
12
+ export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, Q as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, X as TwoLineCellRenderer, W as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, L as withExplicitSortIcons, O as withFlexFill, V as withHeaderMinWidth, T as withNumberColumnWidth, M as withSortIconOffset, U as withTypeClasses } from './index-CHnIxzU2.cjs';
13
13
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
14
14
  import { DayPicker, SelectSingleEventHandler, DateRange, SelectRangeEventHandler } from 'react-day-picker';
15
15
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
package/dist/index.d.ts CHANGED
@@ -8,8 +8,8 @@ declare namespace class_variance_authority_types {
8
8
  }
9
9
  import { VariantProps } from 'class-variance-authority';
10
10
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
11
- import { B as BadgeProps } from './index-3laRfJM7.js';
12
- export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, Q as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, X as TwoLineCellRenderer, W as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, L as withExplicitSortIcons, O as withFlexFill, V as withHeaderMinWidth, T as withNumberColumnWidth, M as withSortIconOffset, U as withTypeClasses } from './index-3laRfJM7.js';
11
+ import { B as BadgeProps } from './index-CHnIxzU2.js';
12
+ export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, Q as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, X as TwoLineCellRenderer, W as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, L as withExplicitSortIcons, O as withFlexFill, V as withHeaderMinWidth, T as withNumberColumnWidth, M as withSortIconOffset, U as withTypeClasses } from './index-CHnIxzU2.js';
13
13
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
14
14
  import { DayPicker, SelectSingleEventHandler, DateRange, SelectRangeEventHandler } from 'react-day-picker';
15
15
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-UNNNNYKG.js';
2
- export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, getPaginationRange, getSortedColumnState, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses } from './chunk-UNNNNYKG.js';
1
+ import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-GQFI5K5T.js';
2
+ export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, getPaginationRange, getSortedColumnState, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses } from './chunk-GQFI5K5T.js';
3
3
  import * as React17 from 'react';
4
4
  import React17__default, { forwardRef, useMemo, useState, useEffect, useCallback, useRef } from 'react';
5
5
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
@@ -1372,6 +1372,8 @@ var CancelIcon = React17.forwardRef(
1372
1372
  }
1373
1373
  );
1374
1374
  CancelIcon.displayName = "CancelIcon";
1375
+ var CLEAR_HOST_CLASS = "group/clear-host";
1376
+ var CLEAR_REVEAL_CLASS = "opacity-0 group-hover/clear-host:opacity-100 group-focus-within/clear-host:opacity-100 [@media(hover:none)]:opacity-100";
1375
1377
 
1376
1378
  // src/utils/message.ts
1377
1379
  var message = {
@@ -4427,6 +4429,7 @@ var DatePickerTrigger = React17.forwardRef(
4427
4429
  "data-disabled": disabled || void 0,
4428
4430
  className: cn(
4429
4431
  datePickerTriggerVariants({ appearance, isInvalid }),
4432
+ CLEAR_HOST_CLASS,
4430
4433
  "[&_[data-placeholder]]:text-sys-text-subtler",
4431
4434
  (showNotchedOutline || showNoneLabel) && "relative",
4432
4435
  showNotchedOutline && "!border-0 !py-[4px] !px-[6px]",
@@ -4477,6 +4480,7 @@ var DatePickerTrigger = React17.forwardRef(
4477
4480
  className: cn(
4478
4481
  "shrink-0 flex items-center justify-center p-[2px] rounded-small hover:bg-secondary-o10 text-sys-text-subtler cursor-pointer outline-none",
4479
4482
  "focus-visible:ring-[2px] focus-visible:ring-sys-focus-ring-main",
4483
+ CLEAR_REVEAL_CLASS,
4480
4484
  (!hasValue || disabled) && "invisible"
4481
4485
  ),
4482
4486
  "aria-label": "\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",
@@ -4753,6 +4757,7 @@ var TextField = React17.forwardRef(
4753
4757
  "aria-disabled": disabled || void 0,
4754
4758
  className: cn(
4755
4759
  textFieldContainerVariants({ appearance, isInvalid }),
4760
+ CLEAR_HOST_CLASS,
4756
4761
  // Focus styling (state-managed, standard appearance without notched outline only)
4757
4762
  isFocused && !isInvalid && appearance === "standard" && !showNotchedOutline && "border-[2px] border-sys-focus-ring-bold py-[2px] px-[4px]",
4758
4763
  // Floating label positioning
@@ -4828,6 +4833,7 @@ var TextField = React17.forwardRef(
4828
4833
  onClick: handleClear,
4829
4834
  className: cn(
4830
4835
  "shrink-0 flex items-center justify-center p-[2px] rounded-small hover:bg-secondary-o10 text-sys-text-subtler",
4836
+ CLEAR_REVEAL_CLASS,
4831
4837
  (!hasValue || disabled || readOnly) && "invisible"
4832
4838
  ),
4833
4839
  "aria-label": "\uC785\uB825 \uC9C0\uC6B0\uAE30",
@@ -8133,6 +8139,7 @@ var MultiSelectTrigger = React17.forwardRef(
8133
8139
  tabIndex: -1,
8134
8140
  className: cn(
8135
8141
  selectTriggerVariants({ appearance, isInvalid }),
8142
+ CLEAR_HOST_CLASS,
8136
8143
  "flex-wrap cursor-text",
8137
8144
  "[&_[data-placeholder]]:text-sys-text-placeholder",
8138
8145
  (showNotchedOutline || showNoneLabel) && "relative",
@@ -8208,7 +8215,10 @@ var MultiSelectTrigger = React17.forwardRef(
8208
8215
  {
8209
8216
  type: "button",
8210
8217
  onClick: handleClearAll,
8211
- className: "shrink-0 flex items-center justify-center p-[2px] rounded-small hover:bg-secondary-o10 text-sys-text-subtler",
8218
+ className: cn(
8219
+ "shrink-0 flex items-center justify-center p-[2px] rounded-small hover:bg-secondary-o10 text-sys-text-subtler",
8220
+ CLEAR_REVEAL_CLASS
8221
+ ),
8212
8222
  "aria-label": "\uC804\uCCB4 \uC0AD\uC81C",
8213
8223
  tabIndex: -1,
8214
8224
  children: /* @__PURE__ */ jsx(CancelIcon, { size: 20 })
@@ -9933,6 +9943,7 @@ var TimePickerTrigger = React17.forwardRef(
9933
9943
  "data-disabled": disabled || void 0,
9934
9944
  className: cn(
9935
9945
  timePickerTriggerVariants({ appearance, isInvalid, hourType }),
9946
+ CLEAR_HOST_CLASS,
9936
9947
  "[&_[data-placeholder]]:text-sys-text-subtler",
9937
9948
  (showNotchedOutline || showNoneLabel) && "relative",
9938
9949
  showNotchedOutline && "!border-0 !py-[4px] !px-[6px]",
@@ -9983,6 +9994,7 @@ var TimePickerTrigger = React17.forwardRef(
9983
9994
  className: cn(
9984
9995
  "shrink-0 flex items-center justify-center p-[2px] rounded-small hover:bg-secondary-o10 text-sys-text-subtler cursor-pointer outline-none",
9985
9996
  "focus-visible:ring-[2px] focus-visible:ring-sys-focus-ring-main",
9997
+ CLEAR_REVEAL_CLASS,
9986
9998
  (!hasValue || disabled) && "invisible"
9987
9999
  ),
9988
10000
  "aria-label": "\uC2DC\uAC04 \uC9C0\uC6B0\uAE30",