@axis-ds/ui-react 1.1.2 → 1.2.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/LICENSE +21 -0
- package/dist/alert/index.d.mts +1 -1
- package/dist/alert/index.d.ts +1 -1
- package/dist/avatar/index.d.mts +1 -1
- package/dist/avatar/index.d.ts +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/button/index.d.mts +2 -2
- package/dist/button/index.d.ts +2 -2
- package/dist/chunk-S7LWOK76.mjs +42 -0
- package/dist/index.js +29 -15
- package/dist/index.mjs +26 -26
- package/dist/progress/index.d.mts +2 -2
- package/dist/progress/index.d.ts +2 -2
- package/dist/slider/index.js +29 -15
- package/dist/slider/index.mjs +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toggle/index.d.mts +2 -2
- package/dist/toggle/index.d.ts +2 -2
- package/package.json +134 -99
- package/dist/chunk-3I222KOY.mjs +0 -123
- package/dist/chunk-54Y3KUM5.mjs +0 -28
- package/dist/chunk-7OPZAWBW.mjs +0 -58
- package/dist/chunk-A5FJHFJQ.mjs +0 -210
- package/dist/chunk-APUPJHAQ.mjs +0 -43
- package/dist/chunk-AUXVXNU2.mjs +0 -105
- package/dist/chunk-B2GWR74O.mjs +0 -144
- package/dist/chunk-CTWUJDKA.mjs +0 -49
- package/dist/chunk-EJNQRWUO.mjs +0 -29
- package/dist/chunk-F6RLUX3E.mjs +0 -37
- package/dist/chunk-HYW3HTBA.mjs +0 -31
- package/dist/chunk-IOOOCHIG.mjs +0 -49
- package/dist/chunk-JJY2MCTX.mjs +0 -25
- package/dist/chunk-JQV5IP5Z.mjs +0 -28
- package/dist/chunk-NFFXJB2O.mjs +0 -11
- package/dist/chunk-OIQGWWAS.mjs +0 -42
- package/dist/chunk-PUERRSNI.mjs +0 -37
- package/dist/chunk-Q4WL74ZY.mjs +0 -43
- package/dist/chunk-RBVNJKEQ.mjs +0 -210
- package/dist/chunk-SPUFU4HC.mjs +0 -139
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.
|
package/dist/alert/index.d.mts
CHANGED
|
@@ -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" | "
|
|
6
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Alert 컴포넌트 Props
|
package/dist/alert/index.d.ts
CHANGED
|
@@ -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" | "
|
|
6
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Alert 컴포넌트 Props
|
package/dist/avatar/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const avatarVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "default" | "lg" | "xl" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Avatar 컴포넌트 Props
|
package/dist/avatar/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const avatarVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "default" | "lg" | "xl" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Avatar 컴포넌트 Props
|
package/dist/badge/index.d.mts
CHANGED
|
@@ -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" | "
|
|
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
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -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" | "
|
|
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
|
package/dist/button/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
7
|
-
size?: "
|
|
6
|
+
variant?: "default" | "link" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
|
|
7
|
+
size?: "sm" | "default" | "lg" | "icon" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
/**
|
|
10
10
|
* Button 컴포넌트 Props
|
package/dist/button/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
7
|
-
size?: "
|
|
6
|
+
variant?: "default" | "link" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
|
|
7
|
+
size?: "sm" | "default" | "lg" | "icon" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
/**
|
|
10
10
|
* Button 컴포넌트 Props
|
|
@@ -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
|
+
};
|
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(
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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-
|
|
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
|
|
@@ -3,10 +3,10 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const progressVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressIndicatorVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
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> {
|
package/dist/progress/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const progressVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
declare const progressIndicatorVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
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> {
|
package/dist/slider/index.js
CHANGED
|
@@ -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(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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 = {
|
package/dist/slider/index.mjs
CHANGED
package/dist/toast/index.d.mts
CHANGED
|
@@ -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" | "
|
|
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>>;
|
package/dist/toast/index.d.ts
CHANGED
|
@@ -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" | "
|
|
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>>;
|
package/dist/toggle/index.d.mts
CHANGED
|
@@ -5,12 +5,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const toggleVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "outline" | null | undefined;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
/** 눌림/해제 상태를 전환하는 토글 버튼 컴포넌트. variant(default, outline)와 size(sm, default, lg) 변형을 지원한다. */
|
|
11
11
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
12
12
|
variant?: "default" | "outline" | null | undefined;
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
|
|
16
16
|
export { Toggle, toggleVariants };
|
package/dist/toggle/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const toggleVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "outline" | null | undefined;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
/** 눌림/해제 상태를 전환하는 토글 버튼 컴포넌트. variant(default, outline)와 size(sm, default, lg) 변형을 지원한다. */
|
|
11
11
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
12
12
|
variant?: "default" | "outline" | null | undefined;
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
|
|
16
16
|
export { Toggle, toggleVariants };
|