@k8o/arte-odyssey 2.0.2 → 3.0.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/components/accordion/context.js +1 -0
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +4 -1
- package/dist/components/anchor/index.d.ts +1 -1
- package/dist/components/anchor/index.js +4 -1
- package/dist/components/baseline-status/index.d.ts +1 -1
- package/dist/components/baseline-status/index.js +4 -1
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/breadcrumb/index.js +4 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +4 -1
- package/dist/components/card/card.js +4 -8
- package/dist/components/card/card.stories.js +16 -11
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/card/index.js +6 -2
- package/dist/components/card/interactive-card.js +5 -9
- package/dist/components/card/type.d.ts +0 -1
- package/dist/components/dialog/dialog.js +1 -0
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/index.js +5 -1
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/drawer/index.js +4 -1
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/dropdown-menu/index.js +4 -1
- package/dist/components/form/autocomplete/autocomplete.js +1 -0
- package/dist/components/form/autocomplete/index.d.ts +1 -1
- package/dist/components/form/autocomplete/index.js +4 -1
- package/dist/components/form/checkbox/checkbox.js +1 -0
- package/dist/components/form/checkbox/index.d.ts +1 -1
- package/dist/components/form/checkbox/index.js +4 -1
- package/dist/components/form/file-field/index.d.ts +1 -1
- package/dist/components/form/file-field/index.js +5 -1
- package/dist/components/form/form-control/form-control.js +1 -0
- package/dist/components/form/form-control/index.d.ts +1 -1
- package/dist/components/form/form-control/index.js +4 -1
- package/dist/components/form/number-field/index.d.ts +1 -1
- package/dist/components/form/number-field/index.js +4 -1
- package/dist/components/form/number-field/number-field.js +1 -0
- package/dist/components/form/radio/index.d.ts +1 -1
- package/dist/components/form/radio/index.js +4 -1
- package/dist/components/form/range-field/range-field.js +1 -0
- package/dist/components/form/select/index.d.ts +1 -1
- package/dist/components/form/select/index.js +4 -1
- package/dist/components/form/text-field/index.d.ts +1 -1
- package/dist/components/form/text-field/index.js +4 -1
- package/dist/components/form/textarea/index.d.ts +1 -1
- package/dist/components/form/textarea/index.js +4 -1
- package/dist/components/form/textarea/textarea.js +1 -0
- package/dist/components/heading/index.d.ts +1 -1
- package/dist/components/heading/index.js +4 -1
- package/dist/components/icon-button/index.d.ts +1 -1
- package/dist/components/icon-button/index.js +4 -1
- package/dist/components/icon-link/index.d.ts +1 -1
- package/dist/components/icon-link/index.js +4 -1
- package/dist/components/icons/index.d.ts +6 -6
- package/dist/components/icons/index.js +97 -6
- package/dist/components/index.d.ts +38 -38
- package/dist/components/index.js +183 -38
- package/dist/components/link-button/index.d.ts +1 -1
- package/dist/components/link-button/index.js +4 -1
- package/dist/components/list-box/index.d.ts +1 -1
- package/dist/components/list-box/index.js +4 -1
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/index.js +4 -1
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.js +5 -1
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/index.js +4 -1
- package/dist/components/providers/index.d.ts +2 -2
- package/dist/components/providers/index.js +7 -2
- package/dist/components/scroll-linked/index.d.ts +1 -1
- package/dist/components/scroll-linked/index.js +4 -1
- package/dist/components/separator/index.d.ts +1 -1
- package/dist/components/separator/index.js +4 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +4 -1
- package/dist/components/text-tag/index.d.ts +1 -1
- package/dist/components/text-tag/index.js +4 -1
- package/dist/components/toast/toast.js +1 -0
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +4 -1
- package/dist/hooks/client/index.js +1 -0
- package/dist/hooks/clipboard/index.js +1 -0
- package/dist/hooks/hash/index.js +1 -0
- package/dist/hooks/index.d.ts +12 -12
- package/dist/hooks/index.js +26 -12
- package/dist/hooks/interval/index.js +1 -0
- package/dist/hooks/local-storage/index.js +1 -0
- package/dist/hooks/timeout/index.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +212 -2
- package/package.json +20 -20
package/dist/index.js
CHANGED
|
@@ -1,2 +1,212 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
Accordion,
|
|
3
|
+
AIIcon,
|
|
4
|
+
Alert,
|
|
5
|
+
AlertIcon,
|
|
6
|
+
Anchor,
|
|
7
|
+
ArteOdyssey,
|
|
8
|
+
ArteOdysseyProvider,
|
|
9
|
+
Autocomplete,
|
|
10
|
+
BadIcon,
|
|
11
|
+
BaselineStatus,
|
|
12
|
+
BlogIcon,
|
|
13
|
+
BoringIcon,
|
|
14
|
+
Breadcrumb,
|
|
15
|
+
Button,
|
|
16
|
+
Card,
|
|
17
|
+
Checkbox,
|
|
18
|
+
CheckIcon,
|
|
19
|
+
ChevronIcon,
|
|
20
|
+
CloseIcon,
|
|
21
|
+
Code,
|
|
22
|
+
ColorContrastIcon,
|
|
23
|
+
ColorInfoIcon,
|
|
24
|
+
Content,
|
|
25
|
+
CopyIcon,
|
|
26
|
+
DarkModeIcon,
|
|
27
|
+
Dialog,
|
|
28
|
+
DifficultIcon,
|
|
29
|
+
Drawer,
|
|
30
|
+
DropdownMenu,
|
|
31
|
+
EasyIcon,
|
|
32
|
+
ErrorBoundary,
|
|
33
|
+
ExternalLinkIcon,
|
|
34
|
+
FileField,
|
|
35
|
+
FileFieldProvider,
|
|
36
|
+
FormControl,
|
|
37
|
+
FormIcon,
|
|
38
|
+
GitHubIcon,
|
|
39
|
+
GoodIcon,
|
|
40
|
+
Heading,
|
|
41
|
+
HistoryIcon,
|
|
42
|
+
IconButton,
|
|
43
|
+
IconLink,
|
|
44
|
+
InformativeIcon,
|
|
45
|
+
InteractiveCard,
|
|
46
|
+
InterestingIcon,
|
|
47
|
+
LightModeIcon,
|
|
48
|
+
LinkButton,
|
|
49
|
+
LinkIcon,
|
|
50
|
+
ListBox,
|
|
51
|
+
ListIcon,
|
|
52
|
+
LocationIcon,
|
|
53
|
+
Logo,
|
|
54
|
+
LogoIcon,
|
|
55
|
+
MailIcon,
|
|
56
|
+
MinusIcon,
|
|
57
|
+
MixedColorIcon,
|
|
58
|
+
Modal,
|
|
59
|
+
NavigationMenuIcon,
|
|
60
|
+
NewsIcon,
|
|
61
|
+
NumberField,
|
|
62
|
+
PlusIcon,
|
|
63
|
+
Popover,
|
|
64
|
+
PortalRootProvider,
|
|
65
|
+
PrepareIcon,
|
|
66
|
+
Progress,
|
|
67
|
+
PublishDateIcon,
|
|
68
|
+
QiitaIcon,
|
|
69
|
+
Radio,
|
|
70
|
+
RangeField,
|
|
71
|
+
RSSIcon,
|
|
72
|
+
ScrollLinked,
|
|
73
|
+
Select,
|
|
74
|
+
SendIcon,
|
|
75
|
+
Separator,
|
|
76
|
+
ShallowIcon,
|
|
77
|
+
SlideIcon,
|
|
78
|
+
SubscribeIcon,
|
|
79
|
+
TableIcon,
|
|
80
|
+
Tabs,
|
|
81
|
+
TagIcon,
|
|
82
|
+
Textarea,
|
|
83
|
+
TextField,
|
|
84
|
+
TextTag,
|
|
85
|
+
ToastProvider,
|
|
86
|
+
Tooltip,
|
|
87
|
+
TwitterIcon,
|
|
88
|
+
UpdateDateIcon,
|
|
89
|
+
useOpenContext,
|
|
90
|
+
usePortalRoot,
|
|
91
|
+
useToast,
|
|
92
|
+
ViewIcon
|
|
93
|
+
} from "./components";
|
|
94
|
+
import {
|
|
95
|
+
useClickAway,
|
|
96
|
+
useClient,
|
|
97
|
+
useClipboard,
|
|
98
|
+
useHash,
|
|
99
|
+
useInterval,
|
|
100
|
+
useLocalStorage,
|
|
101
|
+
useResize,
|
|
102
|
+
useScrollDirection,
|
|
103
|
+
useStep,
|
|
104
|
+
useTimeout,
|
|
105
|
+
useWindowResize,
|
|
106
|
+
useWindowSize
|
|
107
|
+
} from "./hooks";
|
|
108
|
+
export {
|
|
109
|
+
AIIcon,
|
|
110
|
+
Accordion,
|
|
111
|
+
Alert,
|
|
112
|
+
AlertIcon,
|
|
113
|
+
Anchor,
|
|
114
|
+
ArteOdyssey,
|
|
115
|
+
ArteOdysseyProvider,
|
|
116
|
+
Autocomplete,
|
|
117
|
+
BadIcon,
|
|
118
|
+
BaselineStatus,
|
|
119
|
+
BlogIcon,
|
|
120
|
+
BoringIcon,
|
|
121
|
+
Breadcrumb,
|
|
122
|
+
Button,
|
|
123
|
+
Card,
|
|
124
|
+
CheckIcon,
|
|
125
|
+
Checkbox,
|
|
126
|
+
ChevronIcon,
|
|
127
|
+
CloseIcon,
|
|
128
|
+
Code,
|
|
129
|
+
ColorContrastIcon,
|
|
130
|
+
ColorInfoIcon,
|
|
131
|
+
Content,
|
|
132
|
+
CopyIcon,
|
|
133
|
+
DarkModeIcon,
|
|
134
|
+
Dialog,
|
|
135
|
+
DifficultIcon,
|
|
136
|
+
Drawer,
|
|
137
|
+
DropdownMenu,
|
|
138
|
+
EasyIcon,
|
|
139
|
+
ErrorBoundary,
|
|
140
|
+
ExternalLinkIcon,
|
|
141
|
+
FileField,
|
|
142
|
+
FileFieldProvider,
|
|
143
|
+
FormControl,
|
|
144
|
+
FormIcon,
|
|
145
|
+
GitHubIcon,
|
|
146
|
+
GoodIcon,
|
|
147
|
+
Heading,
|
|
148
|
+
HistoryIcon,
|
|
149
|
+
IconButton,
|
|
150
|
+
IconLink,
|
|
151
|
+
InformativeIcon,
|
|
152
|
+
InteractiveCard,
|
|
153
|
+
InterestingIcon,
|
|
154
|
+
LightModeIcon,
|
|
155
|
+
LinkButton,
|
|
156
|
+
LinkIcon,
|
|
157
|
+
ListBox,
|
|
158
|
+
ListIcon,
|
|
159
|
+
LocationIcon,
|
|
160
|
+
Logo,
|
|
161
|
+
LogoIcon,
|
|
162
|
+
MailIcon,
|
|
163
|
+
MinusIcon,
|
|
164
|
+
MixedColorIcon,
|
|
165
|
+
Modal,
|
|
166
|
+
NavigationMenuIcon,
|
|
167
|
+
NewsIcon,
|
|
168
|
+
NumberField,
|
|
169
|
+
PlusIcon,
|
|
170
|
+
Popover,
|
|
171
|
+
PortalRootProvider,
|
|
172
|
+
PrepareIcon,
|
|
173
|
+
Progress,
|
|
174
|
+
PublishDateIcon,
|
|
175
|
+
QiitaIcon,
|
|
176
|
+
RSSIcon,
|
|
177
|
+
Radio,
|
|
178
|
+
RangeField,
|
|
179
|
+
ScrollLinked,
|
|
180
|
+
Select,
|
|
181
|
+
SendIcon,
|
|
182
|
+
Separator,
|
|
183
|
+
ShallowIcon,
|
|
184
|
+
SlideIcon,
|
|
185
|
+
SubscribeIcon,
|
|
186
|
+
TableIcon,
|
|
187
|
+
Tabs,
|
|
188
|
+
TagIcon,
|
|
189
|
+
TextField,
|
|
190
|
+
TextTag,
|
|
191
|
+
Textarea,
|
|
192
|
+
ToastProvider,
|
|
193
|
+
Tooltip,
|
|
194
|
+
TwitterIcon,
|
|
195
|
+
UpdateDateIcon,
|
|
196
|
+
ViewIcon,
|
|
197
|
+
useClickAway,
|
|
198
|
+
useClient,
|
|
199
|
+
useClipboard,
|
|
200
|
+
useHash,
|
|
201
|
+
useInterval,
|
|
202
|
+
useLocalStorage,
|
|
203
|
+
useOpenContext,
|
|
204
|
+
usePortalRoot,
|
|
205
|
+
useResize,
|
|
206
|
+
useScrollDirection,
|
|
207
|
+
useStep,
|
|
208
|
+
useTimeout,
|
|
209
|
+
useToast,
|
|
210
|
+
useWindowResize,
|
|
211
|
+
useWindowSize
|
|
212
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k8o/arte-odyssey",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "k8o's react ui library",
|
|
5
5
|
"author": "k8o <kosakanoki@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -52,36 +52,36 @@
|
|
|
52
52
|
"*.css"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@floating-ui/react": "0.27.
|
|
55
|
+
"@floating-ui/react": "0.27.17",
|
|
56
56
|
"baseline-status": "1.1.1",
|
|
57
57
|
"clsx": "2.1.1",
|
|
58
|
-
"esbuild": "0.27.
|
|
59
|
-
"lucide-react": "0.
|
|
60
|
-
"motion": "12.
|
|
61
|
-
"react-error-boundary": "6.
|
|
58
|
+
"esbuild": "0.27.3",
|
|
59
|
+
"lucide-react": "0.564.0",
|
|
60
|
+
"motion": "12.34.0",
|
|
61
|
+
"react-error-boundary": "6.1.1",
|
|
62
62
|
"tailwind-merge": "3.4.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@chromatic-com/storybook": "
|
|
66
|
-
"@storybook/addon-a11y": "10.
|
|
67
|
-
"@storybook/addon-docs": "10.
|
|
68
|
-
"@storybook/addon-vitest": "10.
|
|
69
|
-
"@storybook/react-vite": "10.
|
|
65
|
+
"@chromatic-com/storybook": "5.0.1",
|
|
66
|
+
"@storybook/addon-a11y": "10.2.8",
|
|
67
|
+
"@storybook/addon-docs": "10.2.8",
|
|
68
|
+
"@storybook/addon-vitest": "10.2.8",
|
|
69
|
+
"@storybook/react-vite": "10.2.8",
|
|
70
70
|
"@tailwindcss/postcss": "4.1.18",
|
|
71
|
-
"@types/react": "19.2.
|
|
71
|
+
"@types/react": "19.2.14",
|
|
72
72
|
"@types/react-dom": "19.2.3",
|
|
73
|
-
"@vitejs/plugin-react-swc": "4.2.
|
|
74
|
-
"@vitest/browser-playwright": "4.0.
|
|
75
|
-
"@vitest/ui": "4.0.
|
|
73
|
+
"@vitejs/plugin-react-swc": "4.2.3",
|
|
74
|
+
"@vitest/browser-playwright": "4.0.18",
|
|
75
|
+
"@vitest/ui": "4.0.18",
|
|
76
76
|
"postcss": "8.5.6",
|
|
77
|
-
"react": "19.2.
|
|
78
|
-
"react-dom": "19.2.
|
|
79
|
-
"storybook": "10.
|
|
77
|
+
"react": "19.2.4",
|
|
78
|
+
"react-dom": "19.2.4",
|
|
79
|
+
"storybook": "10.2.8",
|
|
80
80
|
"storybook-addon-mock-date": "2.0.0",
|
|
81
81
|
"tailwindcss": "4.1.18",
|
|
82
82
|
"vite": "7.3.1",
|
|
83
|
-
"vitest": "4.0.
|
|
84
|
-
"vitest-browser-react": "2.0.
|
|
83
|
+
"vitest": "4.0.18",
|
|
84
|
+
"vitest-browser-react": "2.0.5"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@types/react": ">=19.0.0",
|