@axis-ds/ui-react 1.1.2 → 1.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Think & Action
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
6
+ variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  /**
9
9
  * Alert 컴포넌트 Props
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const alertVariants: (props?: ({
6
- variant?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
6
+ variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  /**
9
9
  * Alert 컴포넌트 Props
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "default" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | null | undefined;
6
+ variant?: "default" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  /**
9
9
  * Badge 컴포넌트 Props
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const badgeVariants: (props?: ({
6
- variant?: "default" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | null | undefined;
6
+ variant?: "default" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  /**
9
9
  * Badge 컴포넌트 Props
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
6
+ variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  /**
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
6
+ variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  /**
@@ -0,0 +1,42 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-PJO7WJ4G.mjs";
4
+
5
+ // src/slider/index.tsx
6
+ import * as React from "react";
7
+ import * as SliderPrimitive from "@radix-ui/react-slider";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ var Slider = React.forwardRef(
10
+ ({
11
+ className,
12
+ "aria-label": ariaLabel,
13
+ "aria-labelledby": ariaLabelledby,
14
+ ...props
15
+ }, ref) => /* @__PURE__ */ jsxs(
16
+ SliderPrimitive.Root,
17
+ {
18
+ ref,
19
+ className: cn(
20
+ "relative flex w-full touch-none select-none items-center",
21
+ className
22
+ ),
23
+ ...props,
24
+ children: [
25
+ /* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ jsx(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
26
+ /* @__PURE__ */ jsx(
27
+ SliderPrimitive.Thumb,
28
+ {
29
+ "aria-label": ariaLabel,
30
+ "aria-labelledby": ariaLabelledby,
31
+ className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
32
+ }
33
+ )
34
+ ]
35
+ }
36
+ )
37
+ );
38
+ Slider.displayName = "Slider";
39
+
40
+ export {
41
+ Slider
42
+ };
@@ -10,7 +10,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
10
10
  ref?: React.Ref<HTMLDivElement>;
11
11
  } & {
12
12
  asChild?: boolean;
13
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
13
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
14
14
  label?: string;
15
15
  shouldFilter?: boolean;
16
16
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -26,7 +26,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
26
26
  ref?: React.Ref<HTMLInputElement>;
27
27
  } & {
28
28
  asChild?: boolean;
29
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
29
+ }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
30
30
  value?: string;
31
31
  onValueChange?: (search: string) => void;
32
32
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -37,7 +37,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
37
37
  ref?: React.Ref<HTMLDivElement>;
38
38
  } & {
39
39
  asChild?: boolean;
40
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
40
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
41
41
  label?: string;
42
42
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
43
43
  /** 검색 결과가 없을 때 표시되는 빈 상태 컴포넌트 */
@@ -47,7 +47,7 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
47
47
  ref?: React.Ref<HTMLDivElement>;
48
48
  } & {
49
49
  asChild?: boolean;
50
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
50
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
51
51
  /** 관련 명령어 항목들을 그룹화하는 컴포넌트 */
52
52
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
53
53
  children?: React.ReactNode;
@@ -55,7 +55,7 @@ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
55
55
  ref?: React.Ref<HTMLDivElement>;
56
56
  } & {
57
57
  asChild?: boolean;
58
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
58
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
59
59
  heading?: React.ReactNode;
60
60
  value?: string;
61
61
  forceMount?: boolean;
@@ -65,7 +65,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
65
65
  ref?: React.Ref<HTMLDivElement>;
66
66
  } & {
67
67
  asChild?: boolean;
68
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
68
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
69
69
  alwaysRender?: boolean;
70
70
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
71
71
  /** 명령어 팔레트의 개별 선택 가능한 항목 */
@@ -75,7 +75,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
75
75
  ref?: React.Ref<HTMLDivElement>;
76
76
  } & {
77
77
  asChild?: boolean;
78
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
78
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
79
79
  disabled?: boolean;
80
80
  onSelect?: (value: string) => void;
81
81
  value?: string;
@@ -10,7 +10,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
10
10
  ref?: React.Ref<HTMLDivElement>;
11
11
  } & {
12
12
  asChild?: boolean;
13
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
13
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
14
14
  label?: string;
15
15
  shouldFilter?: boolean;
16
16
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -26,7 +26,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
26
26
  ref?: React.Ref<HTMLInputElement>;
27
27
  } & {
28
28
  asChild?: boolean;
29
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
29
+ }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
30
30
  value?: string;
31
31
  onValueChange?: (search: string) => void;
32
32
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -37,7 +37,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
37
37
  ref?: React.Ref<HTMLDivElement>;
38
38
  } & {
39
39
  asChild?: boolean;
40
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
40
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
41
41
  label?: string;
42
42
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
43
43
  /** 검색 결과가 없을 때 표시되는 빈 상태 컴포넌트 */
@@ -47,7 +47,7 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
47
47
  ref?: React.Ref<HTMLDivElement>;
48
48
  } & {
49
49
  asChild?: boolean;
50
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
50
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
51
51
  /** 관련 명령어 항목들을 그룹화하는 컴포넌트 */
52
52
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
53
53
  children?: React.ReactNode;
@@ -55,7 +55,7 @@ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
55
55
  ref?: React.Ref<HTMLDivElement>;
56
56
  } & {
57
57
  asChild?: boolean;
58
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
58
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
59
59
  heading?: React.ReactNode;
60
60
  value?: string;
61
61
  forceMount?: boolean;
@@ -65,7 +65,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
65
65
  ref?: React.Ref<HTMLDivElement>;
66
66
  } & {
67
67
  asChild?: boolean;
68
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
68
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
69
69
  alwaysRender?: boolean;
70
70
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
71
71
  /** 명령어 팔레트의 개별 선택 가능한 항목 */
@@ -75,7 +75,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
75
75
  ref?: React.Ref<HTMLDivElement>;
76
76
  } & {
77
77
  asChild?: boolean;
78
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
78
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
79
79
  disabled?: boolean;
80
80
  onSelect?: (value: string) => void;
81
81
  value?: string;
package/dist/index.js CHANGED
@@ -471,21 +471,35 @@ SelectSeparator.displayName = "SelectSeparator";
471
471
  var React7 = __toESM(require("react"));
472
472
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
473
473
  var import_jsx_runtime7 = require("react/jsx-runtime");
474
- var Slider = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
475
- SliderPrimitive.Root,
476
- {
477
- ref,
478
- className: cn(
479
- "relative flex w-full touch-none select-none items-center",
480
- className
481
- ),
482
- ...props,
483
- children: [
484
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
485
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
486
- ]
487
- }
488
- ));
474
+ var Slider = React7.forwardRef(
475
+ ({
476
+ className,
477
+ "aria-label": ariaLabel,
478
+ "aria-labelledby": ariaLabelledby,
479
+ ...props
480
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
481
+ SliderPrimitive.Root,
482
+ {
483
+ ref,
484
+ className: cn(
485
+ "relative flex w-full touch-none select-none items-center",
486
+ className
487
+ ),
488
+ ...props,
489
+ children: [
490
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
491
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
492
+ SliderPrimitive.Thumb,
493
+ {
494
+ "aria-label": ariaLabel,
495
+ "aria-labelledby": ariaLabelledby,
496
+ className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
497
+ }
498
+ )
499
+ ]
500
+ }
501
+ )
502
+ );
489
503
  Slider.displayName = "Slider";
490
504
 
491
505
  // src/switch/index.tsx
package/dist/index.mjs CHANGED
@@ -29,6 +29,10 @@ import {
29
29
  ToastTitle,
30
30
  ToastViewport
31
31
  } from "./chunk-E2C7WDLA.mjs";
32
+ import {
33
+ Toggle,
34
+ toggleVariants
35
+ } from "./chunk-JM45JPSK.mjs";
32
36
  import {
33
37
  Tooltip,
34
38
  TooltipContent,
@@ -36,12 +40,10 @@ import {
36
40
  TooltipTrigger
37
41
  } from "./chunk-SCH6SFLB.mjs";
38
42
  import {
39
- Toggle,
40
- toggleVariants
41
- } from "./chunk-JM45JPSK.mjs";
42
- import {
43
- Input
44
- } from "./chunk-SLQ756Q7.mjs";
43
+ Progress,
44
+ progressIndicatorVariants,
45
+ progressVariants
46
+ } from "./chunk-YVJ7BL4T.mjs";
45
47
  import {
46
48
  RadioGroup,
47
49
  RadioGroupItem
@@ -60,6 +62,9 @@ import {
60
62
  SelectTrigger,
61
63
  SelectValue
62
64
  } from "./chunk-YKZAU3UV.mjs";
65
+ import {
66
+ Separator
67
+ } from "./chunk-AEBHTW7E.mjs";
63
68
  import {
64
69
  Sheet,
65
70
  SheetClose,
@@ -75,15 +80,17 @@ import {
75
80
  import {
76
81
  Skeleton
77
82
  } from "./chunk-FMXB7UCT.mjs";
78
- import {
79
- Separator
80
- } from "./chunk-AEBHTW7E.mjs";
81
83
  import {
82
84
  Slider
83
- } from "./chunk-54Y3KUM5.mjs";
85
+ } from "./chunk-S7LWOK76.mjs";
84
86
  import {
85
87
  Checkbox
86
88
  } from "./chunk-AJERK2UH.mjs";
89
+ import {
90
+ Collapsible,
91
+ CollapsibleContent,
92
+ CollapsibleTrigger
93
+ } from "./chunk-3N6NG7VT.mjs";
87
94
  import {
88
95
  Command,
89
96
  CommandEmpty,
@@ -93,11 +100,6 @@ import {
93
100
  CommandList,
94
101
  CommandSeparator
95
102
  } from "./chunk-XW4HTSUY.mjs";
96
- import {
97
- Collapsible,
98
- CollapsibleContent,
99
- CollapsibleTrigger
100
- } from "./chunk-3N6NG7VT.mjs";
101
103
  import {
102
104
  Dialog,
103
105
  DialogClose,
@@ -125,31 +127,29 @@ import {
125
127
  DropdownMenuSubTrigger,
126
128
  DropdownMenuTrigger
127
129
  } from "./chunk-SR3JZW6T.mjs";
130
+ import {
131
+ Input
132
+ } from "./chunk-SLQ756Q7.mjs";
128
133
  import {
129
134
  Label
130
135
  } from "./chunk-4JQWQF3H.mjs";
131
- import {
132
- Progress,
133
- progressIndicatorVariants,
134
- progressVariants
135
- } from "./chunk-YVJ7BL4T.mjs";
136
136
  import {
137
137
  Popover,
138
138
  PopoverContent,
139
139
  PopoverTrigger
140
140
  } from "./chunk-ZU6FMFB5.mjs";
141
- import {
142
- Alert,
143
- AlertDescription,
144
- AlertTitle,
145
- alertVariants
146
- } from "./chunk-TD5OLTUB.mjs";
147
141
  import {
148
142
  Accordion,
149
143
  AccordionContent,
150
144
  AccordionItem,
151
145
  AccordionTrigger
152
146
  } from "./chunk-6TRDXC4W.mjs";
147
+ import {
148
+ Alert,
149
+ AlertDescription,
150
+ AlertTitle,
151
+ alertVariants
152
+ } from "./chunk-TD5OLTUB.mjs";
153
153
  import {
154
154
  Avatar,
155
155
  avatarVariants
@@ -6,7 +6,7 @@ declare const progressVariants: (props?: ({
6
6
  size?: "default" | "sm" | "lg" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const progressIndicatorVariants: (props?: ({
9
- variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
9
+ variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  /** Progress 컴포넌트의 Props 인터페이스. 크기 및 색상 변형과 불확정 상태를 지원한다. */
12
12
  interface ProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
@@ -6,7 +6,7 @@ declare const progressVariants: (props?: ({
6
6
  size?: "default" | "sm" | "lg" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
8
  declare const progressIndicatorVariants: (props?: ({
9
- variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
9
+ variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  /** Progress 컴포넌트의 Props 인터페이스. 크기 및 색상 변형과 불확정 상태를 지원한다. */
12
12
  interface ProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
@@ -45,21 +45,35 @@ function cn(...inputs) {
45
45
 
46
46
  // src/slider/index.tsx
47
47
  var import_jsx_runtime = require("react/jsx-runtime");
48
- var Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
49
- SliderPrimitive.Root,
50
- {
51
- ref,
52
- className: cn(
53
- "relative flex w-full touch-none select-none items-center",
54
- className
55
- ),
56
- ...props,
57
- children: [
58
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
59
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
60
- ]
61
- }
62
- ));
48
+ var Slider = React.forwardRef(
49
+ ({
50
+ className,
51
+ "aria-label": ariaLabel,
52
+ "aria-labelledby": ariaLabelledby,
53
+ ...props
54
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
55
+ SliderPrimitive.Root,
56
+ {
57
+ ref,
58
+ className: cn(
59
+ "relative flex w-full touch-none select-none items-center",
60
+ className
61
+ ),
62
+ ...props,
63
+ children: [
64
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
65
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
66
+ SliderPrimitive.Thumb,
67
+ {
68
+ "aria-label": ariaLabel,
69
+ "aria-labelledby": ariaLabelledby,
70
+ className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
71
+ }
72
+ )
73
+ ]
74
+ }
75
+ )
76
+ );
63
77
  Slider.displayName = "Slider";
64
78
  // Annotate the CommonJS export names for ESM import in node:
65
79
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Slider
3
- } from "../chunk-54Y3KUM5.mjs";
3
+ } from "../chunk-S7LWOK76.mjs";
4
4
  import "../chunk-PJO7WJ4G.mjs";
5
5
  export {
6
6
  Slider
@@ -9,7 +9,7 @@ declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
9
9
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
10
10
  /** 토스트 알림의 루트 컴포넌트. default, success, error, warning 변형을 지원하며 스와이프로 닫을 수 있다. */
11
11
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
12
- variant?: "default" | "success" | "warning" | "error" | null | undefined;
12
+ variant?: "default" | "error" | "success" | "warning" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
14
  /** 토스트 내에 표시되는 액션 버튼 컴포넌트. 사용자 상호작용을 위한 CTA를 제공한다. */
15
15
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -9,7 +9,7 @@ declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
9
9
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
10
10
  /** 토스트 알림의 루트 컴포넌트. default, success, error, warning 변형을 지원하며 스와이프로 닫을 수 있다. */
11
11
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
12
- variant?: "default" | "success" | "warning" | "error" | null | undefined;
12
+ variant?: "default" | "error" | "success" | "warning" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
14
  /** 토스트 내에 표시되는 액션 버튼 컴포넌트. 사용자 상호작용을 위한 CTA를 제공한다. */
15
15
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;