@k8o/arte-odyssey 1.4.3 → 2.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.
Files changed (64) hide show
  1. package/dist/components/accordion/accordion-button.js +8 -7
  2. package/dist/components/accordion/accordion-item.js +1 -1
  3. package/dist/components/accordion/accordion-panel.js +1 -1
  4. package/dist/components/accordion/accordion.js +1 -11
  5. package/dist/components/alert/alert.js +3 -4
  6. package/dist/components/alert/alert.stories.js +6 -2
  7. package/dist/components/anchor/anchor.js +3 -2
  8. package/dist/components/baseline-status/baseline-status.js +2 -2
  9. package/dist/components/breadcrumb/breadcrumb.js +9 -2
  10. package/dist/components/button/button.js +6 -6
  11. package/dist/components/card/card.js +3 -3
  12. package/dist/components/card/card.stories.js +20 -18
  13. package/dist/components/card/interactive-card.js +4 -12
  14. package/dist/components/dialog/dialog.js +1 -1
  15. package/dist/components/drawer/drawer.stories.js +6 -6
  16. package/dist/components/dropdown-menu/dropdown-menu.js +4 -4
  17. package/dist/components/dropdown-menu/dropdown-menu.stories.js +16 -16
  18. package/dist/components/form/autocomplete/autocomplete.js +5 -5
  19. package/dist/components/form/checkbox/checkbox.js +1 -1
  20. package/dist/components/form/file-field/file-field.js +1 -1
  21. package/dist/components/form/number-field/number-field.js +2 -2
  22. package/dist/components/form/number-field/number-field.stories.js +2 -34
  23. package/dist/components/form/radio/radio.d.ts +1 -0
  24. package/dist/components/form/radio/radio.js +2 -0
  25. package/dist/components/form/radio/radio.stories.js +14 -39
  26. package/dist/components/form/range-field/range-field.js +2 -3
  27. package/dist/components/form/range-field/range-field.stories.js +11 -184
  28. package/dist/components/form/select/select.js +1 -1
  29. package/dist/components/form/select/select.stories.js +1 -4
  30. package/dist/components/form/text-field/text-field.js +1 -1
  31. package/dist/components/form/text-field/text-field.stories.js +1 -5
  32. package/dist/components/form/textarea/textarea.js +1 -1
  33. package/dist/components/form/textarea/textarea.stories.js +1 -5
  34. package/dist/components/icon-button/icon-button.js +3 -3
  35. package/dist/components/icon-button/icon-button.stories.js +1 -4
  36. package/dist/components/icon-link/icon-link.d.ts +1 -1
  37. package/dist/components/icon-link/icon-link.js +3 -2
  38. package/dist/components/icon-link/icon-link.stories.js +7 -1
  39. package/dist/components/icons/icons.stories.js +0 -5
  40. package/dist/components/icons/index.d.ts +0 -1
  41. package/dist/components/icons/index.js +0 -1
  42. package/dist/components/link-button/link-button.d.ts +2 -1
  43. package/dist/components/link-button/link-button.js +9 -6
  44. package/dist/components/link-button/link-button.stories.js +21 -2
  45. package/dist/components/list-box/list-box.js +6 -8
  46. package/dist/components/list-box/list-box.stories.js +10 -19
  47. package/dist/components/modal/modal.js +1 -1
  48. package/dist/components/modal/modal.stories.js +2 -2
  49. package/dist/components/popover/popover.stories.js +3 -3
  50. package/dist/components/progress/progress.js +2 -2
  51. package/dist/components/scroll-linked/scroll-linked.js +1 -1
  52. package/dist/components/scroll-linked/scroll-linked.stories.js +7 -7
  53. package/dist/components/separator/separator.d.ts +1 -0
  54. package/dist/components/separator/separator.js +21 -12
  55. package/dist/components/separator/separator.stories.js +12 -0
  56. package/dist/components/tabs/tabs.js +2 -2
  57. package/dist/components/tabs/tabs.stories.js +33 -26
  58. package/dist/components/text-tag/text-tag.js +1 -1
  59. package/dist/components/tooltip/tooltip.js +1 -1
  60. package/dist/components/tooltip/tooltip.stories.js +3 -3
  61. package/dist/styles/index.css +0 -3
  62. package/package.json +10 -10
  63. package/dist/components/icons/zenn.d.ts +0 -6
  64. package/dist/components/icons/zenn.js +0 -41
@@ -1,51 +1,26 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useState } from "react";
3
1
  import { Radio } from "./radio";
4
2
  const meta = {
5
3
  title: "components/form/radio",
6
- component: Radio
4
+ component: Radio,
5
+ args: {
6
+ name: "radio-group",
7
+ labelId: "radio",
8
+ options: [
9
+ { value: "0", label: "\u306F\u3044" },
10
+ { value: "1", label: "\u3044\u3044\u3048" }
11
+ ],
12
+ defaultValue: "0"
13
+ }
7
14
  };
8
15
  var radio_stories_default = meta;
9
16
  const Default = {
10
- render: () => {
11
- const options = [
12
- { value: "0", label: "\u306F\u3044" },
13
- { value: "1", label: "\u3044\u3044\u3048" }
14
- ];
15
- const [value, setValue] = useState("0");
16
- return /* @__PURE__ */ jsx(
17
- Radio,
18
- {
19
- isDisabled: false,
20
- labelId: "radio",
21
- onChange: (e) => {
22
- setValue(e.target.value);
23
- },
24
- options,
25
- value
26
- }
27
- );
17
+ args: {
18
+ isDisabled: false
28
19
  }
29
20
  };
30
21
  const Disabled = {
31
- render: () => {
32
- const options = [
33
- { value: "0", label: "\u306F\u3044" },
34
- { value: "1", label: "\u3044\u3044\u3048" }
35
- ];
36
- const [value, setValue] = useState("0");
37
- return /* @__PURE__ */ jsx(
38
- Radio,
39
- {
40
- isDisabled: true,
41
- labelId: "radio",
42
- onChange: (e) => {
43
- setValue(e.target.value);
44
- },
45
- options,
46
- value
47
- }
48
- );
22
+ args: {
23
+ isDisabled: true
49
24
  }
50
25
  };
51
26
  export {
@@ -36,9 +36,8 @@ const RangeField = ({
36
36
  "aria-valuemin": min,
37
37
  "aria-valuenow": currentValue,
38
38
  className: cn(
39
- "h-2 flex-1 cursor-pointer appearance-none rounded-lg bg-bg-subtle",
40
- "range-slider",
41
- "focus:outline-none focus:ring-2 focus:ring-border-info focus:ring-opacity-50",
39
+ "h-2 flex-1 cursor-pointer rounded-full bg-bg-subtle",
40
+ "focus:outline-none focus:ring-2 focus:ring-border-info",
42
41
  "disabled:cursor-not-allowed disabled:opacity-50",
43
42
  isInvalid && "ring-2 ring-border-error"
44
43
  ),
@@ -1,5 +1,4 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { useState } from "react";
3
2
  import { RangeField } from "./range-field";
4
3
  const meta = {
5
4
  title: "components/form/RangeField",
@@ -16,43 +15,9 @@ const meta = {
16
15
  }
17
16
  }
18
17
  },
19
- argTypes: {
20
- onChange: { action: "changed" }
21
- }
22
- };
23
- var range_field_stories_default = meta;
24
- const Default = {
25
- render: ({
26
- id,
27
- describedbyId,
28
- isInvalid,
29
- isDisabled,
30
- isRequired,
31
- step,
32
- max,
33
- min,
34
- showValue,
35
- unit
36
- }) => {
37
- const [value, setValue] = useState(50);
38
- return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
39
- RangeField,
40
- {
41
- describedbyId,
42
- id,
43
- isDisabled,
44
- isInvalid,
45
- isRequired,
46
- max,
47
- min,
48
- onChange: setValue,
49
- showValue,
50
- step,
51
- unit,
52
- value
53
- }
54
- ) });
55
- },
18
+ decorators: [
19
+ (Story) => /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(Story, {}) })
20
+ ],
56
21
  args: {
57
22
  min: 0,
58
23
  max: 100,
@@ -60,176 +25,38 @@ const Default = {
60
25
  isInvalid: false,
61
26
  isDisabled: false,
62
27
  isRequired: false,
63
- showValue: true
28
+ showValue: true,
29
+ defaultValue: 50
64
30
  }
65
31
  };
32
+ var range_field_stories_default = meta;
33
+ const Default = {};
66
34
  const WithUnit = {
67
- render: ({
68
- id,
69
- describedbyId,
70
- isInvalid,
71
- isDisabled,
72
- isRequired,
73
- step,
74
- max,
75
- min,
76
- showValue,
77
- unit
78
- }) => {
79
- const [value, setValue] = useState(200);
80
- return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
81
- RangeField,
82
- {
83
- describedbyId,
84
- id,
85
- isDisabled,
86
- isInvalid,
87
- isRequired,
88
- max,
89
- min,
90
- onChange: setValue,
91
- showValue,
92
- step,
93
- unit,
94
- value
95
- }
96
- ) });
97
- },
98
35
  args: {
99
36
  min: 100,
100
37
  max: 500,
101
38
  step: 10,
102
39
  unit: "px",
103
- isInvalid: false,
104
- isDisabled: false,
105
- isRequired: false,
106
- showValue: true
40
+ defaultValue: 200
107
41
  }
108
42
  };
109
43
  const WithoutValue = {
110
- render: ({
111
- id,
112
- describedbyId,
113
- isInvalid,
114
- isDisabled,
115
- isRequired,
116
- step,
117
- max,
118
- min,
119
- showValue,
120
- unit
121
- }) => {
122
- const [value, setValue] = useState(75);
123
- return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
124
- RangeField,
125
- {
126
- describedbyId,
127
- id,
128
- isDisabled,
129
- isInvalid,
130
- isRequired,
131
- max,
132
- min,
133
- onChange: setValue,
134
- showValue,
135
- step,
136
- unit,
137
- value
138
- }
139
- ) });
140
- },
141
44
  args: {
142
- min: 0,
143
- max: 100,
144
45
  step: 5,
145
46
  showValue: false,
146
- isInvalid: false,
147
- isDisabled: false,
148
- isRequired: false
47
+ defaultValue: 75
149
48
  }
150
49
  };
151
50
  const Disabled = {
152
- render: ({
153
- id,
154
- describedbyId,
155
- isInvalid,
156
- isDisabled,
157
- isRequired,
158
- step,
159
- max,
160
- min,
161
- showValue,
162
- unit
163
- }) => {
164
- const [value, setValue] = useState(30);
165
- return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
166
- RangeField,
167
- {
168
- describedbyId,
169
- id,
170
- isDisabled,
171
- isInvalid,
172
- isRequired,
173
- max,
174
- min,
175
- onChange: setValue,
176
- showValue,
177
- step,
178
- unit,
179
- value
180
- }
181
- ) });
182
- },
183
51
  args: {
184
- min: 0,
185
- max: 100,
186
- step: 1,
187
- isInvalid: false,
188
52
  isDisabled: true,
189
- isRequired: false,
190
- showValue: true
53
+ defaultValue: 30
191
54
  }
192
55
  };
193
56
  const Invalid = {
194
- render: ({
195
- id,
196
- describedbyId,
197
- isInvalid,
198
- isDisabled,
199
- isRequired,
200
- step,
201
- max,
202
- min,
203
- showValue,
204
- unit
205
- }) => {
206
- const [value, setValue] = useState(90);
207
- return /* @__PURE__ */ jsx("div", { className: "w-80", children: /* @__PURE__ */ jsx(
208
- RangeField,
209
- {
210
- describedbyId,
211
- id,
212
- isDisabled,
213
- isInvalid,
214
- isRequired,
215
- max,
216
- min,
217
- onChange: setValue,
218
- showValue,
219
- step,
220
- unit,
221
- value
222
- }
223
- ) });
224
- },
225
57
  args: {
226
- min: 0,
227
- max: 100,
228
- step: 1,
229
58
  isInvalid: true,
230
- isDisabled: false,
231
- isRequired: false,
232
- showValue: true
59
+ defaultValue: 90
233
60
  }
234
61
  };
235
62
  export {
@@ -20,7 +20,7 @@ const Select = ({
20
20
  "aria-invalid": isInvalid,
21
21
  "aria-required": isRequired,
22
22
  className: cn(
23
- "w-full appearance-none rounded-md border border-border-base bg-bg-base px-3 py-2 shadow-xs",
23
+ "w-full appearance-none rounded-lg border border-border-base bg-bg-base px-3 py-2 text-fg-base",
24
24
  "aria-invalid:border-border-error",
25
25
  "disabled:cursor-not-allowed disabled:border-border-mute disabled:bg-bg-mute disabled:hover:bg-bg-mute",
26
26
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info"
@@ -11,10 +11,7 @@ const meta = {
11
11
  { value: "10", label: "10\u9032\u6570" },
12
12
  { value: "16", label: "16\u9032\u6570" }
13
13
  ],
14
- value: "10",
15
- onChange: (e) => {
16
- console.log(e.target.value);
17
- }
14
+ defaultValue: "10"
18
15
  },
19
16
  parameters: {
20
17
  a11y: {
@@ -19,7 +19,7 @@ const TextField = ({
19
19
  "aria-invalid": isInvalid,
20
20
  "aria-required": isRequired,
21
21
  className: cn(
22
- "w-full rounded-md border border-border-base bg-bg-base px-3 py-2",
22
+ "w-full rounded-lg border border-border-base bg-bg-base px-3 py-2",
23
23
  "aria-invalid:border-border-error",
24
24
  "disabled:cursor-not-allowed disabled:border-border-mute disabled:bg-bg-mute disabled:hover:bg-bg-mute",
25
25
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info"
@@ -4,11 +4,7 @@ const meta = {
4
4
  component: TextField,
5
5
  args: {
6
6
  id: "textfield",
7
- describedbyId: "textfield-feedback",
8
- value: "",
9
- onChange: (e) => {
10
- console.log(e.target.value);
11
- }
7
+ describedbyId: "textfield-feedback"
12
8
  },
13
9
  parameters: {
14
10
  a11y: {
@@ -30,7 +30,7 @@ const Textarea = ({
30
30
  "aria-invalid": isInvalid,
31
31
  "aria-required": isRequired,
32
32
  className: cn(
33
- "w-full resize-none rounded-md border border-border-base bg-bg-base px-3 py-2",
33
+ "w-full resize-none rounded-lg border border-border-base bg-bg-base px-3 py-2",
34
34
  "aria-invalid:border-border-error",
35
35
  "disabled:cursor-not-allowed disabled:border-border-mute disabled:bg-bg-mute disabled:hover:bg-bg-mute",
36
36
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info",
@@ -8,11 +8,7 @@ const meta = {
8
8
  ],
9
9
  args: {
10
10
  id: "textarea",
11
- describedbyId: "textarea-feedback",
12
- value: "10",
13
- onChange: (e) => {
14
- console.log(e.target.value);
15
- }
11
+ describedbyId: "textarea-feedback"
16
12
  },
17
13
  parameters: {
18
14
  a11y: {
@@ -13,12 +13,12 @@ const IconButton = ({
13
13
  {
14
14
  "aria-label": props.role ? label : void 0,
15
15
  className: cn(
16
- "inline-flex cursor-pointer rounded-full bg-transparent",
16
+ "inline-flex cursor-pointer rounded-full bg-transparent transition-colors",
17
17
  "hover:bg-bg-subtle",
18
18
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info active:bg-bg-emphasize",
19
- bg === "base" && "bg-bg-base/90",
19
+ bg === "base" && "bg-bg-base",
20
20
  bg === "transparent" && "bg-transparent",
21
- bg === "primary" && "bg-primary-bg/90 hover:bg-primary-bg active:bg-primary-bg-emphasize",
21
+ bg === "primary" && "bg-primary-bg hover:bg-primary-bg/90 active:bg-primary-bg-emphasize",
22
22
  size === "sm" && "p-1",
23
23
  size === "md" && "p-2",
24
24
  size === "lg" && "p-3",
@@ -5,10 +5,7 @@ const meta = {
5
5
  title: "components/button/icon-button",
6
6
  component: IconButton,
7
7
  args: {
8
- onClick: () => {
9
- console.log("clicked");
10
- },
11
- label: "Copy",
8
+ label: "\u30B3\u30D4\u30FC",
12
9
  children: /* @__PURE__ */ jsx(CopyIcon, {})
13
10
  }
14
11
  };
@@ -1,7 +1,7 @@
1
1
  import type { PropsWithChildren, ReactNode } from 'react';
2
2
  export declare const IconLink: <T extends string>({ size, bg, label, href, children, openInNewTab, renderAnchor, }: PropsWithChildren<{
3
3
  size?: "sm" | "md" | "lg";
4
- bg?: "transparent" | "base";
4
+ bg?: "transparent" | "base" | "primary";
5
5
  label?: string;
6
6
  href: T;
7
7
  openInNewTab?: boolean;
@@ -18,9 +18,10 @@ const IconLink = ({
18
18
  return renderAnchor({
19
19
  href,
20
20
  className: cn(
21
- "inline-flex rounded-full hover:bg-bg-subtle active:bg-bg-emphasize focus-visible:ring-2 focus-visible:ring-border-info",
22
- bg === "base" && "bg-bg-base/90",
21
+ "inline-flex rounded-full transition-colors hover:bg-bg-subtle active:bg-bg-emphasize focus-visible:ring-2 focus-visible:ring-border-info",
22
+ bg === "base" && "bg-bg-base",
23
23
  bg === "transparent" && "bg-transparent",
24
+ bg === "primary" && "bg-primary-bg hover:bg-primary-bg/90 active:bg-primary-bg-emphasize",
24
25
  size === "sm" && "p-1",
25
26
  size === "md" && "p-2",
26
27
  size === "lg" && "p-3"
@@ -7,7 +7,7 @@ const meta = {
7
7
  args: {
8
8
  href: "https://example.com",
9
9
  children: /* @__PURE__ */ jsx(CopyIcon, {}),
10
- label: "Copy to clipboard"
10
+ label: "\u30B3\u30D4\u30FC"
11
11
  }
12
12
  };
13
13
  var icon_link_stories_default = meta;
@@ -31,8 +31,14 @@ const BgBase = {
31
31
  bg: "base"
32
32
  }
33
33
  };
34
+ const BgPrimary = {
35
+ args: {
36
+ bg: "primary"
37
+ }
38
+ };
34
39
  export {
35
40
  BgBase,
41
+ BgPrimary,
36
42
  Large,
37
43
  Medium,
38
44
  Small,
@@ -47,7 +47,6 @@ import {
47
47
  } from "./lucide";
48
48
  import { QiitaIcon } from "./qiita";
49
49
  import { TwitterIcon } from "./twitter";
50
- import { ZennIcon } from "./zenn";
51
50
  const meta = {
52
51
  title: "components/icons"
53
52
  };
@@ -259,10 +258,6 @@ const Primary = {
259
258
  /* @__PURE__ */ jsx(QiitaIcon, {}),
260
259
  /* @__PURE__ */ jsx("p", { className: "text-center", children: "Qiita" })
261
260
  ] }),
262
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center", children: [
263
- /* @__PURE__ */ jsx(ZennIcon, {}),
264
- /* @__PURE__ */ jsx("p", { className: "text-center", children: "Zenn" })
265
- ] }),
266
261
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center", children: [
267
262
  /* @__PURE__ */ jsx(ArteOdyssey, {}),
268
263
  /* @__PURE__ */ jsx("p", { className: "text-center", children: "Arte Odyssey" })
@@ -4,4 +4,3 @@ export * from './logo';
4
4
  export * from './lucide';
5
5
  export * from './qiita';
6
6
  export * from './twitter';
7
- export * from './zenn';
@@ -4,4 +4,3 @@ export * from "./logo";
4
4
  export * from "./lucide";
5
5
  export * from "./qiita";
6
6
  export * from "./twitter";
7
- export * from "./zenn";
@@ -1,7 +1,8 @@
1
1
  import type { ReactNode } from 'react';
2
- export declare const LinkButton: <T extends string>({ children, size, variant, href, startIcon, endIcon, active, openInNewTab, renderAnchor, }: {
2
+ export declare const LinkButton: <T extends string>({ children, size, color, variant, href, startIcon, endIcon, active, openInNewTab, renderAnchor, }: {
3
3
  variant?: "contained" | "outlined" | "skeleton";
4
4
  size?: "sm" | "md" | "lg";
5
+ color?: "primary" | "gray";
5
6
  href: T;
6
7
  startIcon?: ReactNode;
7
8
  endIcon?: ReactNode;
@@ -4,6 +4,7 @@ import { isInternalRoute } from "./../../helpers/is-internal-route";
4
4
  const LinkButton = ({
5
5
  children,
6
6
  size = "md",
7
+ color = "primary",
7
8
  variant = "contained",
8
9
  href,
9
10
  startIcon,
@@ -15,15 +16,17 @@ const LinkButton = ({
15
16
  const type = isInternalRoute(href) && !openInNewTab ? "internal" : "external";
16
17
  const props = type === "internal" ? {} : { target: "_blank", rel: "noopener noreferrer" };
17
18
  const className = cn(
18
- "rounded-lg text-center font-bold",
19
+ "rounded-lg border-2 text-center font-bold transition-colors",
19
20
  {
20
- "bg-primary-bg text-fg hover:bg-primary-bg/90 active:bg-primary-bg/80": variant === "contained",
21
- "border-primary-border bg-bg-base text-primary-fg hover:bg-bg-subtle active:bg-bg-emphasize border-2": variant === "outlined",
22
- "bg-transparent text-fg-mute hover:text-fg-base active:text-fg-base": variant === "skeleton"
21
+ "border-transparent bg-primary-bg text-fg hover:bg-primary-bg/90 active:bg-primary-bg/80": variant === "contained" && color === "primary",
22
+ "border-transparent bg-bg-subtle text-fg-base hover:bg-bg-mute active:bg-bg-emphasize": variant === "contained" && color === "gray",
23
+ "border-primary-border bg-bg-base text-primary-fg hover:bg-bg-subtle active:bg-bg-emphasize": variant === "outlined" && color === "primary",
24
+ "border-border-base bg-bg-base text-fg-base hover:bg-bg-subtle active:bg-bg-emphasize": variant === "outlined" && color === "gray",
25
+ "border-transparent bg-transparent text-fg-mute hover:text-fg-base active:text-fg-base": variant === "skeleton"
23
26
  },
24
- "focus-visible:border-transparent focus-visible:ring-border-info focus-visible:ring-2 focus-visible:outline-hidden",
27
+ "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info",
25
28
  size === "sm" && "px-3 py-1 text-sm",
26
- size === "md" && "text-md px-4 py-2",
29
+ size === "md" && "px-4 py-2 text-md",
27
30
  size === "lg" && "px-6 py-3 text-lg",
28
31
  Boolean(startIcon ?? endIcon) && "flex items-center gap-2",
29
32
  Boolean(endIcon) && "justify-between",
@@ -25,11 +25,27 @@ const Small = {
25
25
  size: "sm"
26
26
  }
27
27
  };
28
- const Outline = {
28
+ const Outlined = {
29
29
  args: {
30
30
  variant: "outlined"
31
31
  }
32
32
  };
33
+ const Skeleton = {
34
+ args: {
35
+ variant: "skeleton"
36
+ }
37
+ };
38
+ const Gray = {
39
+ args: {
40
+ color: "gray"
41
+ }
42
+ };
43
+ const GrayOutlined = {
44
+ args: {
45
+ color: "gray",
46
+ variant: "outlined"
47
+ }
48
+ };
33
49
  const StartIcon = {
34
50
  args: {
35
51
  startIcon: /* @__PURE__ */ jsx(CopyIcon, {})
@@ -42,9 +58,12 @@ const EndIcon = {
42
58
  };
43
59
  export {
44
60
  EndIcon,
61
+ Gray,
62
+ GrayOutlined,
45
63
  Large,
46
64
  Medium,
47
- Outline,
65
+ Outlined,
66
+ Skeleton,
48
67
  Small,
49
68
  StartIcon,
50
69
  link_button_stories_default as default
@@ -73,7 +73,7 @@ const Content = ({ helpContent }) => {
73
73
  {
74
74
  ...props,
75
75
  ...contentProps,
76
- className: "flex max-h-48 min-w-40 flex-col overflow-y-auto rounded-lg border border-border-mute bg-bg-base py-2 shadow-xl",
76
+ className: "flex max-h-48 min-w-40 flex-col overflow-y-auto rounded-lg border border-border-mute bg-bg-base py-2 shadow-md",
77
77
  children: [
78
78
  helpContent,
79
79
  options.map(({ key, label }, idx) => /* @__PURE__ */ jsx(Item, { index: idx, label }, key))
@@ -89,16 +89,14 @@ const Item = ({ label, index }) => {
89
89
  "button",
90
90
  {
91
91
  className: cn(
92
- "group w-full px-2 py-1 text-left",
93
- "hover:bg-primary-bg",
94
- "focus-visible:border-transparent focus-visible:bg-primary-bg focus-visible:outline-hidden",
95
- !selected && "pl-9",
96
- selected && "inline-flex items-center gap-1"
92
+ "flex w-full items-center justify-between px-3 py-2 text-left transition-colors",
93
+ "hover:bg-bg-mute",
94
+ "focus-visible:border-transparent focus-visible:bg-bg-mute focus-visible:outline-hidden"
97
95
  ),
98
96
  ...props,
99
97
  children: [
100
- selected && /* @__PURE__ */ jsx("span", { className: "text-fg-success group-hover:text-fg-base group-focus-visible:text-fg-base", children: /* @__PURE__ */ jsx(CheckIcon, {}) }),
101
- label
98
+ label,
99
+ selected && /* @__PURE__ */ jsx("span", { className: "text-fg-success", children: /* @__PURE__ */ jsx(CheckIcon, {}) })
102
100
  ]
103
101
  }
104
102
  );
@@ -17,25 +17,16 @@ const meta = {
17
17
  };
18
18
  var list_box_stories_default = meta;
19
19
  const OPTIONS = [
20
- { key: "1", label: "apple" },
21
- { key: "2", label: "banana" },
22
- { key: "3", label: "cherry" },
23
- { key: "4", label: "date" },
24
- { key: "5", label: "elderberry" },
25
- { key: "6", label: "fig" },
26
- { key: "7", label: "grape" },
27
- { key: "8", label: "honeydew" },
28
- { key: "9", label: "kiwi" },
29
- { key: "10", label: "lemon" },
30
- { key: "11", label: "mango" },
31
- { key: "12", label: "nectarine" },
32
- { key: "13", label: "orange" },
33
- { key: "14", label: "pear" },
34
- { key: "15", label: "quince" },
35
- { key: "16", label: "raspberry" },
36
- { key: "17", label: "strawberry" },
37
- { key: "18", label: "tangerine" },
38
- { key: "19", label: "watermelon" }
20
+ { key: "1", label: "\u308A\u3093\u3054" },
21
+ { key: "2", label: "\u30D0\u30CA\u30CA" },
22
+ { key: "3", label: "\u3055\u304F\u3089\u3093\u307C" },
23
+ { key: "4", label: "\u3076\u3069\u3046" },
24
+ { key: "5", label: "\u30E1\u30ED\u30F3" },
25
+ { key: "6", label: "\u3044\u3061\u3054" },
26
+ { key: "7", label: "\u307F\u304B\u3093" },
27
+ { key: "8", label: "\u3082\u3082" },
28
+ { key: "9", label: "\u30AD\u30A6\u30A4" },
29
+ { key: "10", label: "\u30EC\u30E2\u30F3" }
39
30
  ];
40
31
  const Default = {
41
32
  render: () => {
@@ -95,7 +95,7 @@ const Modal = ({ ref, type = "center", defaultOpen, isOpen, onClose, children })
95
95
  {
96
96
  animate: realDialogOpen ? "open" : "closed",
97
97
  className: cn(
98
- "border-border-mute bg-bg-base shadow-xl backdrop:bg-back-drop",
98
+ "border-border-mute bg-bg-base shadow-md backdrop:bg-back-drop",
99
99
  type === "center" && "m-auto max-h-lg w-5/6 max-w-2xl rounded-lg dark:border",
100
100
  type === "bottom" && "mt-auto w-screen max-w-screen rounded-t-lg dark:border-t",
101
101
  type === "right" && "ml-auto min-h-svh w-screen max-w-sm rounded-l-lg dark:border-l"