@axis-ds/ui-react 1.1.0 → 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.
- package/dist/alert/index.d.mts +1 -1
- package/dist/alert/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 +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/index.mjs +39 -39
- package/dist/progress/index.d.mts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/package.json +14 -13
- package/LICENSE +0 -21
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" | "info" | "success" | "warning" | "destructive" | 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" | "info" | "success" | "warning" | "destructive" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Alert 컴포넌트 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" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | 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" | "info" | "success" | "warning" | "destructive" | "secondary" | "outline" | "error" | 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,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" | "
|
|
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
|
/**
|
package/dist/button/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 buttonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
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
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -29,10 +29,6 @@ import {
|
|
|
29
29
|
ToastTitle,
|
|
30
30
|
ToastViewport
|
|
31
31
|
} from "./chunk-E2C7WDLA.mjs";
|
|
32
|
-
import {
|
|
33
|
-
Toggle,
|
|
34
|
-
toggleVariants
|
|
35
|
-
} from "./chunk-JM45JPSK.mjs";
|
|
36
32
|
import {
|
|
37
33
|
Tooltip,
|
|
38
34
|
TooltipContent,
|
|
@@ -40,10 +36,12 @@ import {
|
|
|
40
36
|
TooltipTrigger
|
|
41
37
|
} from "./chunk-SCH6SFLB.mjs";
|
|
42
38
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
Toggle,
|
|
40
|
+
toggleVariants
|
|
41
|
+
} from "./chunk-JM45JPSK.mjs";
|
|
42
|
+
import {
|
|
43
|
+
Input
|
|
44
|
+
} from "./chunk-SLQ756Q7.mjs";
|
|
47
45
|
import {
|
|
48
46
|
RadioGroup,
|
|
49
47
|
RadioGroupItem
|
|
@@ -52,9 +50,6 @@ import {
|
|
|
52
50
|
ScrollArea,
|
|
53
51
|
ScrollBar
|
|
54
52
|
} from "./chunk-ECF2JRI5.mjs";
|
|
55
|
-
import {
|
|
56
|
-
Separator
|
|
57
|
-
} from "./chunk-AEBHTW7E.mjs";
|
|
58
53
|
import {
|
|
59
54
|
Select,
|
|
60
55
|
SelectContent,
|
|
@@ -80,12 +75,24 @@ 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";
|
|
86
84
|
import {
|
|
87
85
|
Checkbox
|
|
88
86
|
} from "./chunk-AJERK2UH.mjs";
|
|
87
|
+
import {
|
|
88
|
+
Command,
|
|
89
|
+
CommandEmpty,
|
|
90
|
+
CommandGroup,
|
|
91
|
+
CommandInput,
|
|
92
|
+
CommandItem,
|
|
93
|
+
CommandList,
|
|
94
|
+
CommandSeparator
|
|
95
|
+
} from "./chunk-XW4HTSUY.mjs";
|
|
89
96
|
import {
|
|
90
97
|
Collapsible,
|
|
91
98
|
CollapsibleContent,
|
|
@@ -101,15 +108,6 @@ import {
|
|
|
101
108
|
DialogTitle,
|
|
102
109
|
DialogTrigger
|
|
103
110
|
} from "./chunk-IXLVGZWU.mjs";
|
|
104
|
-
import {
|
|
105
|
-
Command,
|
|
106
|
-
CommandEmpty,
|
|
107
|
-
CommandGroup,
|
|
108
|
-
CommandInput,
|
|
109
|
-
CommandItem,
|
|
110
|
-
CommandList,
|
|
111
|
-
CommandSeparator
|
|
112
|
-
} from "./chunk-XW4HTSUY.mjs";
|
|
113
111
|
import {
|
|
114
112
|
DropdownMenu,
|
|
115
113
|
DropdownMenuCheckboxItem,
|
|
@@ -127,12 +125,14 @@ import {
|
|
|
127
125
|
DropdownMenuSubTrigger,
|
|
128
126
|
DropdownMenuTrigger
|
|
129
127
|
} from "./chunk-SR3JZW6T.mjs";
|
|
130
|
-
import {
|
|
131
|
-
Input
|
|
132
|
-
} from "./chunk-SLQ756Q7.mjs";
|
|
133
128
|
import {
|
|
134
129
|
Label
|
|
135
130
|
} 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,
|
|
@@ -144,32 +144,20 @@ import {
|
|
|
144
144
|
AlertTitle,
|
|
145
145
|
alertVariants
|
|
146
146
|
} from "./chunk-TD5OLTUB.mjs";
|
|
147
|
-
import {
|
|
148
|
-
Avatar,
|
|
149
|
-
avatarVariants
|
|
150
|
-
} from "./chunk-4AWNSTZH.mjs";
|
|
151
147
|
import {
|
|
152
148
|
Accordion,
|
|
153
149
|
AccordionContent,
|
|
154
150
|
AccordionItem,
|
|
155
151
|
AccordionTrigger
|
|
156
152
|
} from "./chunk-6TRDXC4W.mjs";
|
|
153
|
+
import {
|
|
154
|
+
Avatar,
|
|
155
|
+
avatarVariants
|
|
156
|
+
} from "./chunk-4AWNSTZH.mjs";
|
|
157
157
|
import {
|
|
158
158
|
Badge,
|
|
159
159
|
badgeVariants
|
|
160
160
|
} from "./chunk-WVWKKHBP.mjs";
|
|
161
|
-
import {
|
|
162
|
-
Card,
|
|
163
|
-
CardContent,
|
|
164
|
-
CardDescription,
|
|
165
|
-
CardFooter,
|
|
166
|
-
CardHeader,
|
|
167
|
-
CardTitle
|
|
168
|
-
} from "./chunk-O5SM54HW.mjs";
|
|
169
|
-
import {
|
|
170
|
-
Button,
|
|
171
|
-
buttonVariants
|
|
172
|
-
} from "./chunk-MARIIZN7.mjs";
|
|
173
161
|
import {
|
|
174
162
|
Breadcrumb,
|
|
175
163
|
BreadcrumbEllipsis,
|
|
@@ -179,6 +167,18 @@ import {
|
|
|
179
167
|
BreadcrumbPage,
|
|
180
168
|
BreadcrumbSeparator
|
|
181
169
|
} from "./chunk-KAIB45YN.mjs";
|
|
170
|
+
import {
|
|
171
|
+
Button,
|
|
172
|
+
buttonVariants
|
|
173
|
+
} from "./chunk-MARIIZN7.mjs";
|
|
174
|
+
import {
|
|
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" | "
|
|
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> {
|
package/dist/progress/index.d.ts
CHANGED
|
@@ -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" | "
|
|
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> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axis-ds/ui-react",
|
|
3
|
-
"version": "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.0"
|
|
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
|
-
|
|
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.
|