@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
@@ -11,8 +11,8 @@ const Default = {
11
11
  args: {
12
12
  defaultOpen: true,
13
13
  children: /* @__PURE__ */ jsxs(Dialog.Root, { children: [
14
- /* @__PURE__ */ jsx(Dialog.Header, { onClose: fn(), title: "Hello" }),
15
- /* @__PURE__ */ jsx(Dialog.Content, { children: "World" })
14
+ /* @__PURE__ */ jsx(Dialog.Header, { onClose: fn(), title: "\u78BA\u8A8D" }),
15
+ /* @__PURE__ */ jsx(Dialog.Content, { children: /* @__PURE__ */ jsx("p", { children: "\u3053\u306E\u64CD\u4F5C\u3092\u5B9F\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F" }) })
16
16
  ] })
17
17
  }
18
18
  };
@@ -21,19 +21,19 @@ const Default = {
21
21
  /* @__PURE__ */ jsx(
22
22
  Popover.Trigger,
23
23
  {
24
- renderItem: (props) => /* @__PURE__ */ jsx(Button, { ...props, size: "md", type: "button", children: "Popover" })
24
+ renderItem: (props) => /* @__PURE__ */ jsx(Button, { ...props, size: "md", type: "button", children: "\u30E1\u30CB\u30E5\u30FC" })
25
25
  }
26
26
  ),
27
27
  /* @__PURE__ */ jsx(
28
28
  Popover.Content,
29
29
  {
30
- renderItem: (props) => /* @__PURE__ */ jsx("div", { className: "rounded-sm bg-bg-mute p-4 shadow-md", ...props, children: /* @__PURE__ */ jsx("div", { role: "menuitem", children: "Popover content" }) })
30
+ renderItem: (props) => /* @__PURE__ */ jsx("div", { className: "rounded-lg bg-bg-mute p-4 shadow-md", ...props, children: /* @__PURE__ */ jsx("div", { role: "menuitem", children: "\u30DD\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u306E\u30B3\u30F3\u30C6\u30F3\u30C4" }) })
31
31
  }
32
32
  )
33
33
  ] }),
34
34
  play: async ({ canvas, userEvent }) => {
35
35
  const trigger = canvas.getByRole("button", {
36
- name: "Popover"
36
+ name: "\u30E1\u30CB\u30E5\u30FC"
37
37
  });
38
38
  trigger.focus();
39
39
  await userEvent.keyboard("{Enter}");
@@ -1,14 +1,14 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { toPrecision } from "./../../helpers/number";
3
3
  const Progress = ({ progress, maxProgress, minProgress = 0, label }) => {
4
- return /* @__PURE__ */ jsx("div", { className: "w-full rounded-sm bg-bg-emphasize", children: /* @__PURE__ */ jsx(
4
+ return /* @__PURE__ */ jsx("div", { className: "w-full rounded-full bg-bg-emphasize", children: /* @__PURE__ */ jsx(
5
5
  "div",
6
6
  {
7
7
  "aria-label": label ?? `${toPrecision(progress / maxProgress).toString()}%`,
8
8
  "aria-valuemax": maxProgress,
9
9
  "aria-valuemin": minProgress,
10
10
  "aria-valuenow": progress,
11
- className: "h-4 rounded-sm bg-primary-fg",
11
+ className: "h-4 rounded-full bg-primary-bg transition-all",
12
12
  role: "progressbar",
13
13
  style: {
14
14
  width: `${(progress / maxProgress * 100).toString()}%`
@@ -11,7 +11,7 @@ const ScrollLinked = ({ container }) => {
11
11
  return /* @__PURE__ */ jsx(
12
12
  motion.div,
13
13
  {
14
- className: "fixed top-0 right-0 left-0 h-2 origin-left bg-primary-fg",
14
+ className: "fixed top-0 right-0 left-0 h-2 origin-left bg-primary-bg",
15
15
  style: { scaleX }
16
16
  }
17
17
  );
@@ -19,20 +19,20 @@ const WithContainer = {
19
19
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
20
20
  "section",
21
21
  {
22
- "aria-label": "Scrollable container example",
23
- className: "relative h-96 overflow-y-scroll rounded border border-gray-300",
22
+ "aria-label": "\u30B9\u30AF\u30ED\u30FC\u30EB\u30B3\u30F3\u30C6\u30CA\u306E\u4F8B",
23
+ className: "relative h-96 overflow-y-scroll rounded-lg border border-border-mute",
24
24
  ref: containerRef,
25
25
  tabIndex: 0,
26
26
  children: [
27
27
  /* @__PURE__ */ jsx(Story, { args: { container: containerRef } }),
28
28
  /* @__PURE__ */ jsxs("div", { className: "h-[200vh] p-4", children: [
29
- /* @__PURE__ */ jsx("h2", { className: "mb-4 font-bold text-xl", children: "Container Scroll Example" }),
30
- /* @__PURE__ */ jsx("p", { className: "mb-4", children: "Scroll within this container to see the progress bar at the top." }),
31
- /* @__PURE__ */ jsx("p", { className: "mb-4", children: "The progress bar tracks this container's scroll position, not the window's scroll." }),
29
+ /* @__PURE__ */ jsx("h2", { className: "mb-4 font-bold text-xl", children: "\u30B3\u30F3\u30C6\u30CA\u5185\u30B9\u30AF\u30ED\u30FC\u30EB\u306E\u4F8B" }),
30
+ /* @__PURE__ */ jsx("p", { className: "mb-4", children: "\u3053\u306E\u30B3\u30F3\u30C6\u30CA\u5185\u3092\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u3068\u3001\u4E0A\u90E8\u306B\u30D7\u30ED\u30B0\u30EC\u30B9\u30D0\u30FC\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }),
31
+ /* @__PURE__ */ jsx("p", { className: "mb-4", children: "\u30D7\u30ED\u30B0\u30EC\u30B9\u30D0\u30FC\u306F\u30A6\u30A3\u30F3\u30C9\u30A6\u3067\u306F\u306A\u304F\u3001\u3053\u306E\u30B3\u30F3\u30C6\u30CA\u306E\u30B9\u30AF\u30ED\u30FC\u30EB\u4F4D\u7F6E\u3092\u8FFD\u8DE1\u3057\u307E\u3059\u3002" }),
32
32
  /* @__PURE__ */ jsx("div", { className: "mt-8 space-y-4", children: Array.from({ length: 20 }, (_, i) => (
33
33
  // biome-ignore lint/suspicious/noArrayIndexKey: Static demo content
34
- /* @__PURE__ */ jsxs("p", { className: "rounded bg-gray-100 p-4", children: [
35
- "Content block ",
34
+ /* @__PURE__ */ jsxs("p", { className: "rounded-lg bg-bg-mute p-4", children: [
35
+ "\u30B3\u30F3\u30C6\u30F3\u30C4\u30D6\u30ED\u30C3\u30AF ",
36
36
  i + 1
37
37
  ] }, `content-${i}`)
38
38
  )) })
@@ -1,4 +1,5 @@
1
1
  import type { FC } from 'react';
2
2
  export declare const Separator: FC<{
3
3
  orientation?: 'horizontal' | 'vertical';
4
+ color?: 'base' | 'mute' | 'subtle';
4
5
  }>;
@@ -1,18 +1,27 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { cn } from "./../../helpers/cn";
3
- const Separator = ({ orientation = "horizontal" }) => {
3
+ const Separator = ({ orientation = "horizontal", color = "base" }) => {
4
4
  const isVertical = orientation === "vertical";
5
- const Element = isVertical ? "div" : "hr";
6
- return /* @__PURE__ */ jsx(
7
- Element,
8
- {
9
- "aria-orientation": isVertical ? "vertical" : void 0,
10
- className: cn("bg-border-base", {
11
- "h-full w-px": isVertical,
12
- "h-px w-full": !isVertical
13
- }),
14
- role: isVertical ? "separator" : void 0
15
- }
5
+ return (
6
+ // biome-ignore lint/a11y/useFocusableInteractive: decorative separator
7
+ // biome-ignore lint/a11y/useSemanticElements: need color prop support
8
+ /* @__PURE__ */ jsx(
9
+ "span",
10
+ {
11
+ "aria-orientation": orientation,
12
+ className: cn(
13
+ "block",
14
+ {
15
+ "h-full w-px": isVertical,
16
+ "h-px w-full": !isVertical
17
+ },
18
+ color === "base" && "bg-border-base",
19
+ color === "mute" && "bg-border-mute",
20
+ color === "subtle" && "bg-border-subtle"
21
+ ),
22
+ role: "separator"
23
+ }
24
+ )
16
25
  );
17
26
  };
18
27
  export {
@@ -20,7 +20,19 @@ const Vertical = {
20
20
  orientation: "vertical"
21
21
  }
22
22
  };
23
+ const ColorMute = {
24
+ args: {
25
+ color: "mute"
26
+ }
27
+ };
28
+ const ColorSubtle = {
29
+ args: {
30
+ color: "subtle"
31
+ }
32
+ };
23
33
  export {
34
+ ColorMute,
35
+ ColorSubtle,
24
36
  Horizontal,
25
37
  Vertical,
26
38
  separator_stories_default as default
@@ -78,7 +78,7 @@ const Tab = ({ id, children }) => {
78
78
  "aria-controls": selectedId === id ? `${rootId}-panel-${id}` : void 0,
79
79
  "aria-selected": selectedId === id,
80
80
  className: cn(
81
- "relative cursor-pointer rounded-md p-2",
81
+ "relative cursor-pointer rounded-lg p-2 transition-colors",
82
82
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info"
83
83
  ),
84
84
  id: `${rootId}-tab-${id}`,
@@ -125,7 +125,7 @@ const Panel = ({ id, children }) => {
125
125
  {
126
126
  "aria-labelledby": `${rootId}-tab-${id}`,
127
127
  className: cn(
128
- "flex-grow rounded-md p-2",
128
+ "grow rounded-lg p-2",
129
129
  "focus-visible:border-transparent focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-border-info"
130
130
  ),
131
131
  id: `${rootId}-panel-${id}`,
@@ -7,39 +7,46 @@ const meta = {
7
7
  };
8
8
  var tabs_stories_default = meta;
9
9
  const Primary = {
10
- render: () => /* @__PURE__ */ jsxs(Tabs.Root, { ids: ["tab1", "tab2", "tab3"], children: [
11
- /* @__PURE__ */ jsxs(Tabs.List, { label: "Tabs Example", children: [
12
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab1", children: "Tab1" }),
13
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab2", children: "Tab2" }),
14
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab3", children: "Tab3" })
10
+ render: () => /* @__PURE__ */ jsxs(Tabs.Root, { ids: ["overview", "settings", "history"], children: [
11
+ /* @__PURE__ */ jsxs(Tabs.List, { label: "\u8A2D\u5B9A\u30E1\u30CB\u30E5\u30FC", children: [
12
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "overview", children: "\u6982\u8981" }),
13
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "settings", children: "\u8A2D\u5B9A" }),
14
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "history", children: "\u5C65\u6B74" })
15
15
  ] }),
16
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab1", children: "Panel1" }),
17
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab2", children: "Panel2" }),
18
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab3", children: "Panel3" })
16
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "overview", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u6982\u8981\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) }),
17
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "settings", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u8A2D\u5B9A\u9805\u76EE\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) }),
18
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "history", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u5C65\u6B74\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) })
19
19
  ] }),
20
20
  play: async ({ canvas, userEvent }) => {
21
- const tab2 = canvas.getByRole("tab", { name: "Tab2" });
22
- const tab3 = canvas.getByRole("tab", { name: "Tab3" });
23
- await expect(canvas.getByRole("tabpanel")).toHaveTextContent("Panel1");
24
- await userEvent.click(tab2);
25
- await expect(canvas.getByRole("tabpanel")).toHaveTextContent("Panel2");
26
- await userEvent.click(tab3);
27
- await expect(canvas.getByRole("tabpanel")).toHaveTextContent("Panel3");
21
+ const settingsTab = canvas.getByRole("tab", { name: "\u8A2D\u5B9A" });
22
+ const historyTab = canvas.getByRole("tab", { name: "\u5C65\u6B74" });
23
+ await expect(canvas.getByRole("tabpanel")).toHaveTextContent("\u6982\u8981");
24
+ await userEvent.click(settingsTab);
25
+ await expect(canvas.getByRole("tabpanel")).toHaveTextContent("\u8A2D\u5B9A\u9805\u76EE");
26
+ await userEvent.click(historyTab);
27
+ await expect(canvas.getByRole("tabpanel")).toHaveTextContent("\u5C65\u6B74");
28
28
  }
29
29
  };
30
30
  const DefaultSelected = {
31
- render: () => /* @__PURE__ */ jsxs(Tabs.Root, { defaultSelectedId: "tab2", ids: ["tab1", "tab2", "tab3"], children: [
32
- /* @__PURE__ */ jsxs(Tabs.List, { label: "Tabs Example", children: [
33
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab1", children: "Tab1" }),
34
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab2", children: "Tab2" }),
35
- /* @__PURE__ */ jsx(Tabs.Tab, { id: "tab3", children: "Tab3" })
36
- ] }),
37
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab1", children: "Panel1" }),
38
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab2", children: "Panel2" }),
39
- /* @__PURE__ */ jsx(Tabs.Panel, { id: "tab3", children: "Panel3" })
40
- ] }),
31
+ render: () => /* @__PURE__ */ jsxs(
32
+ Tabs.Root,
33
+ {
34
+ defaultSelectedId: "settings",
35
+ ids: ["overview", "settings", "history"],
36
+ children: [
37
+ /* @__PURE__ */ jsxs(Tabs.List, { label: "\u8A2D\u5B9A\u30E1\u30CB\u30E5\u30FC", children: [
38
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "overview", children: "\u6982\u8981" }),
39
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "settings", children: "\u8A2D\u5B9A" }),
40
+ /* @__PURE__ */ jsx(Tabs.Tab, { id: "history", children: "\u5C65\u6B74" })
41
+ ] }),
42
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "overview", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u6982\u8981\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) }),
43
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "settings", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u8A2D\u5B9A\u9805\u76EE\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) }),
44
+ /* @__PURE__ */ jsx(Tabs.Panel, { id: "history", children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u5C65\u6B74\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002" }) })
45
+ ]
46
+ }
47
+ ),
41
48
  play: async ({ canvas }) => {
42
- await expect(canvas.getByRole("tabpanel")).toHaveTextContent("Panel2");
49
+ await expect(canvas.getByRole("tabpanel")).toHaveTextContent("\u8A2D\u5B9A\u9805\u76EE");
43
50
  }
44
51
  };
45
52
  export {
@@ -9,7 +9,7 @@ const TextTag = ({
9
9
  "span",
10
10
  {
11
11
  className: cn(
12
- "inline-block rounded-full bg-bg-mute font-medium",
12
+ "inline-block rounded-full bg-bg-mute font-medium transition-colors",
13
13
  clickable && "cursor-pointer hover:bg-bg-emphasize",
14
14
  size === "sm" && "px-2 py-0.5 text-xs",
15
15
  size === "md" && "px-3 py-1 text-sm"
@@ -43,7 +43,7 @@ const Content = ({ children }) => {
43
43
  "div",
44
44
  {
45
45
  ...props,
46
- className: "rounded-lg border border-border-mute bg-bg-base px-4 py-2 shadow-xl",
46
+ className: "rounded-lg border border-border-mute bg-bg-base px-4 py-2 shadow-md",
47
47
  children
48
48
  }
49
49
  )
@@ -21,14 +21,14 @@ const Default = {
21
21
  /* @__PURE__ */ jsx(
22
22
  Tooltip.Trigger,
23
23
  {
24
- renderItem: (props) => /* @__PURE__ */ jsx(Button, { type: "button", ...props, children: "Tooltip" })
24
+ renderItem: (props) => /* @__PURE__ */ jsx(Button, { type: "button", ...props, children: "\u30D8\u30EB\u30D7" })
25
25
  }
26
26
  ),
27
- /* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx("p", { children: "Tooltip content" }) })
27
+ /* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx("p", { children: "\u3053\u3053\u306B\u88DC\u8DB3\u60C5\u5831\u304C\u8868\u793A\u3055\u308C\u307E\u3059" }) })
28
28
  ] }),
29
29
  play: async ({ canvas, userEvent }) => {
30
30
  const trigger = canvas.getByRole("button", {
31
- name: "Tooltip"
31
+ name: "\u30D8\u30EB\u30D7"
32
32
  });
33
33
  trigger.focus();
34
34
  await userEvent.keyboard("{Enter}");
@@ -271,9 +271,6 @@
271
271
  }
272
272
 
273
273
  @theme inline {
274
- /* TODO: spacingをもっと定義する */
275
- --spacing-lg: 32rem;
276
-
277
274
  --color-*: initial;
278
275
  --color-fg-base: var(--fg-base);
279
276
  --color-fg-subtle: var(--fg-subtle);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k8o/arte-odyssey",
3
- "version": "1.4.3",
3
+ "version": "2.0.0",
4
4
  "description": "k8o's react ui library",
5
5
  "author": "k8o <kosakanoki@gmail.com>",
6
6
  "keywords": [
@@ -57,18 +57,18 @@
57
57
  "clsx": "2.1.1",
58
58
  "esbuild": "0.27.2",
59
59
  "lucide-react": "0.562.0",
60
- "motion": "12.23.26",
61
- "react-error-boundary": "6.0.0",
60
+ "motion": "12.25.0",
61
+ "react-error-boundary": "6.0.3",
62
62
  "tailwind-merge": "3.4.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@chromatic-com/storybook": "4.1.3",
66
- "@storybook/addon-a11y": "10.1.10",
67
- "@storybook/addon-docs": "10.1.10",
68
- "@storybook/addon-vitest": "10.1.10",
69
- "@storybook/react-vite": "10.1.10",
66
+ "@storybook/addon-a11y": "10.1.11",
67
+ "@storybook/addon-docs": "10.1.11",
68
+ "@storybook/addon-vitest": "10.1.11",
69
+ "@storybook/react-vite": "10.1.11",
70
70
  "@tailwindcss/postcss": "4.1.18",
71
- "@types/react": "19.2.7",
71
+ "@types/react": "19.2.8",
72
72
  "@types/react-dom": "19.2.3",
73
73
  "@vitejs/plugin-react-swc": "4.2.2",
74
74
  "@vitest/browser-playwright": "4.0.16",
@@ -76,10 +76,10 @@
76
76
  "postcss": "8.5.6",
77
77
  "react": "19.2.3",
78
78
  "react-dom": "19.2.3",
79
- "storybook": "10.1.10",
79
+ "storybook": "10.1.11",
80
80
  "storybook-addon-mock-date": "2.0.0",
81
81
  "tailwindcss": "4.1.18",
82
- "vite": "7.3.0",
82
+ "vite": "7.3.1",
83
83
  "vitest": "4.0.16",
84
84
  "vitest-browser-react": "2.0.2"
85
85
  },
@@ -1,6 +0,0 @@
1
- import type { FC } from 'react';
2
- import { type BaseIconProps } from './base';
3
- export declare const Zenn: FC<{
4
- className?: string;
5
- }>;
6
- export declare const ZennIcon: FC<Partial<BaseIconProps>>;
@@ -1,41 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { BaseIcon } from "./base";
3
- const Zenn = ({ className }) => {
4
- return /* @__PURE__ */ jsx(
5
- "svg",
6
- {
7
- className,
8
- viewBox: "0 0 98 96",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- children: /* @__PURE__ */ jsxs("g", { fill: "#3EA8FF", children: [
11
- /* @__PURE__ */ jsx(
12
- "path",
13
- {
14
- d: "M3.9,83.3h17c0.9,0,1.7-0.5,2.2-1.2L69.9,5.2c0.6-1-0.1-2.2-1.3-2.2H52.5c-0.8,0-1.5,0.4-1.9,1.1L3.1,81.9\n C2.8,82.5,3.2,83.3,3.9,83.3z"
15
- }
16
- ),
17
- /* @__PURE__ */ jsx(
18
- "path",
19
- {
20
- d: "M62.5,82.1l22.1-35.5c0.7-1.1-0.1-2.5-1.4-2.5h-16c-0.6,0-1.2,0.3-1.5,0.8L43,81.2c-0.6,0.9,0.1,2.1,1.2,2.1\n h16.3C61.3,83.3,62.1,82.9,62.5,82.1z"
21
- }
22
- )
23
- ] })
24
- }
25
- );
26
- };
27
- const ZennIcon = ({ size = "md" }) => {
28
- return /* @__PURE__ */ jsx(
29
- BaseIcon,
30
- {
31
- renderItem: (props) => {
32
- return /* @__PURE__ */ jsx(Zenn, { ...props });
33
- },
34
- size
35
- }
36
- );
37
- };
38
- export {
39
- Zenn,
40
- ZennIcon
41
- };