@axis-ds/ui-react 1.1.1 → 1.1.2

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.
@@ -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" | "destructive" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | 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" | "destructive" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | 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" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | 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" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
6
+ variant?: "default" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | 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" | "secondary" | "ghost" | "destructive" | "outline" | "link" | null | undefined;
6
+ variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "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" | "secondary" | "ghost" | "destructive" | "outline" | "link" | null | undefined;
6
+ variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  /**
@@ -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>>, "type" | "value" | "onChange"> & {
29
+ }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
30
30
  value?: string;
31
31
  onValueChange?: (search: string) => void;
32
32
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -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>>, "value" | "heading"> & {
58
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
59
59
  heading?: React.ReactNode;
60
60
  value?: string;
61
61
  forceMount?: boolean;
@@ -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>>, "disabled" | "value" | "onSelect"> & {
78
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
79
79
  disabled?: boolean;
80
80
  onSelect?: (value: string) => void;
81
81
  value?: string;
@@ -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>>, "type" | "value" | "onChange"> & {
29
+ }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
30
30
  value?: string;
31
31
  onValueChange?: (search: string) => void;
32
32
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -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>>, "value" | "heading"> & {
58
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
59
59
  heading?: React.ReactNode;
60
60
  value?: string;
61
61
  forceMount?: boolean;
@@ -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>>, "disabled" | "value" | "onSelect"> & {
78
+ }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
79
79
  disabled?: boolean;
80
80
  onSelect?: (value: string) => void;
81
81
  value?: string;
package/dist/index.mjs CHANGED
@@ -1,12 +1,6 @@
1
1
  import {
2
2
  Switch
3
3
  } from "./chunk-Q3KALTWT.mjs";
4
- import {
5
- Tabs,
6
- TabsContent,
7
- TabsList,
8
- TabsTrigger
9
- } from "./chunk-NEZK6NO5.mjs";
10
4
  import {
11
5
  Table,
12
6
  TableBody,
@@ -18,11 +12,14 @@ import {
18
12
  TableRow
19
13
  } from "./chunk-XHILRI24.mjs";
20
14
  import {
21
- Tooltip,
22
- TooltipContent,
23
- TooltipProvider,
24
- TooltipTrigger
25
- } from "./chunk-SCH6SFLB.mjs";
15
+ Tabs,
16
+ TabsContent,
17
+ TabsList,
18
+ TabsTrigger
19
+ } from "./chunk-NEZK6NO5.mjs";
20
+ import {
21
+ Textarea
22
+ } from "./chunk-HQB5TO4N.mjs";
26
23
  import {
27
24
  Toast,
28
25
  ToastAction,
@@ -32,18 +29,19 @@ import {
32
29
  ToastTitle,
33
30
  ToastViewport
34
31
  } from "./chunk-E2C7WDLA.mjs";
32
+ import {
33
+ Tooltip,
34
+ TooltipContent,
35
+ TooltipProvider,
36
+ TooltipTrigger
37
+ } from "./chunk-SCH6SFLB.mjs";
35
38
  import {
36
39
  Toggle,
37
40
  toggleVariants
38
41
  } from "./chunk-JM45JPSK.mjs";
39
42
  import {
40
- Textarea
41
- } from "./chunk-HQB5TO4N.mjs";
42
- import {
43
- Progress,
44
- progressIndicatorVariants,
45
- progressVariants
46
- } from "./chunk-YVJ7BL4T.mjs";
43
+ Input
44
+ } from "./chunk-SLQ756Q7.mjs";
47
45
  import {
48
46
  RadioGroup,
49
47
  RadioGroupItem
@@ -62,9 +60,6 @@ import {
62
60
  SelectTrigger,
63
61
  SelectValue
64
62
  } from "./chunk-YKZAU3UV.mjs";
65
- import {
66
- Separator
67
- } from "./chunk-AEBHTW7E.mjs";
68
63
  import {
69
64
  Sheet,
70
65
  SheetClose,
@@ -80,9 +75,15 @@ import {
80
75
  import {
81
76
  Skeleton
82
77
  } from "./chunk-FMXB7UCT.mjs";
78
+ import {
79
+ Separator
80
+ } from "./chunk-AEBHTW7E.mjs";
83
81
  import {
84
82
  Slider
85
83
  } from "./chunk-54Y3KUM5.mjs";
84
+ import {
85
+ Checkbox
86
+ } from "./chunk-AJERK2UH.mjs";
86
87
  import {
87
88
  Command,
88
89
  CommandEmpty,
@@ -92,19 +93,21 @@ import {
92
93
  CommandList,
93
94
  CommandSeparator
94
95
  } from "./chunk-XW4HTSUY.mjs";
95
- import {
96
- Card,
97
- CardContent,
98
- CardDescription,
99
- CardFooter,
100
- CardHeader,
101
- CardTitle
102
- } from "./chunk-O5SM54HW.mjs";
103
96
  import {
104
97
  Collapsible,
105
98
  CollapsibleContent,
106
99
  CollapsibleTrigger
107
100
  } from "./chunk-3N6NG7VT.mjs";
101
+ import {
102
+ Dialog,
103
+ DialogClose,
104
+ DialogContent,
105
+ DialogDescription,
106
+ DialogFooter,
107
+ DialogHeader,
108
+ DialogTitle,
109
+ DialogTrigger
110
+ } from "./chunk-IXLVGZWU.mjs";
108
111
  import {
109
112
  DropdownMenu,
110
113
  DropdownMenuCheckboxItem,
@@ -122,39 +125,31 @@ import {
122
125
  DropdownMenuSubTrigger,
123
126
  DropdownMenuTrigger
124
127
  } from "./chunk-SR3JZW6T.mjs";
125
- import {
126
- Dialog,
127
- DialogClose,
128
- DialogContent,
129
- DialogDescription,
130
- DialogFooter,
131
- DialogHeader,
132
- DialogTitle,
133
- DialogTrigger
134
- } from "./chunk-IXLVGZWU.mjs";
135
128
  import {
136
129
  Label
137
130
  } from "./chunk-4JQWQF3H.mjs";
138
131
  import {
139
- Input
140
- } from "./chunk-SLQ756Q7.mjs";
132
+ Progress,
133
+ progressIndicatorVariants,
134
+ progressVariants
135
+ } from "./chunk-YVJ7BL4T.mjs";
141
136
  import {
142
137
  Popover,
143
138
  PopoverContent,
144
139
  PopoverTrigger
145
140
  } from "./chunk-ZU6FMFB5.mjs";
146
- import {
147
- Accordion,
148
- AccordionContent,
149
- AccordionItem,
150
- AccordionTrigger
151
- } from "./chunk-6TRDXC4W.mjs";
152
141
  import {
153
142
  Alert,
154
143
  AlertDescription,
155
144
  AlertTitle,
156
145
  alertVariants
157
146
  } from "./chunk-TD5OLTUB.mjs";
147
+ import {
148
+ Accordion,
149
+ AccordionContent,
150
+ AccordionItem,
151
+ AccordionTrigger
152
+ } from "./chunk-6TRDXC4W.mjs";
158
153
  import {
159
154
  Avatar,
160
155
  avatarVariants
@@ -177,8 +172,13 @@ import {
177
172
  buttonVariants
178
173
  } from "./chunk-MARIIZN7.mjs";
179
174
  import {
180
- Checkbox
181
- } from "./chunk-AJERK2UH.mjs";
175
+ Card,
176
+ CardContent,
177
+ CardDescription,
178
+ CardFooter,
179
+ CardHeader,
180
+ CardTitle
181
+ } from "./chunk-O5SM54HW.mjs";
182
182
  import {
183
183
  cn
184
184
  } from "./chunk-PJO7WJ4G.mjs";
@@ -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" | "destructive" | "success" | "warning" | null | undefined;
9
+ variant?: "default" | "success" | "warning" | "destructive" | 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" | "destructive" | "success" | "warning" | null | undefined;
9
+ variant?: "default" | "success" | "warning" | "destructive" | 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> {
@@ -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" | "error" | "success" | "warning" | null | undefined;
12
+ variant?: "default" | "success" | "warning" | "error" | 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" | "error" | "success" | "warning" | null | undefined;
12
+ variant?: "default" | "success" | "warning" | "error" | 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axis-ds/ui-react",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "AXIS Design System - Core React UI Components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -139,11 +139,21 @@
139
139
  "publishConfig": {
140
140
  "access": "public"
141
141
  },
142
+ "scripts": {
143
+ "build": "tsup src/index.ts src/*/index.tsx --format cjs,esm --dts --external react",
144
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react",
145
+ "clean": "rm -rf dist",
146
+ "test": "vitest run",
147
+ "test:watch": "vitest",
148
+ "type-check": "tsc --noEmit",
149
+ "prepublishOnly": "pnpm build"
150
+ },
142
151
  "peerDependencies": {
143
152
  "react": ">=18.0.0",
144
153
  "react-dom": ">=18.0.0"
145
154
  },
146
155
  "dependencies": {
156
+ "@axis-ds/tokens": "workspace:*",
147
157
  "@radix-ui/react-accordion": "^1.2.12",
148
158
  "@radix-ui/react-checkbox": "^1.3.3",
149
159
  "@radix-ui/react-collapsible": "^1.1.12",
@@ -165,8 +175,7 @@
165
175
  "class-variance-authority": "^0.7.0",
166
176
  "clsx": "^2.1.0",
167
177
  "cmdk": "^1.1.1",
168
- "tailwind-merge": "^2.5.0",
169
- "@axis-ds/tokens": "1.1.1"
178
+ "tailwind-merge": "^2.5.0"
170
179
  },
171
180
  "devDependencies": {
172
181
  "@testing-library/jest-dom": "^6.9.1",
@@ -194,13 +203,5 @@
194
203
  "url": "https://github.com/thoughtandaction/axis.git",
195
204
  "directory": "packages/axis-ui-react"
196
205
  },
197
- "homepage": "https://axis.minu.best",
198
- "scripts": {
199
- "build": "tsup src/index.ts src/*/index.tsx --format cjs,esm --dts --external react",
200
- "dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react",
201
- "clean": "rm -rf dist",
202
- "test": "vitest run",
203
- "test:watch": "vitest",
204
- "type-check": "tsc --noEmit"
205
- }
206
- }
206
+ "homepage": "https://axis.minu.best"
207
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
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.