@k8o/arte-odyssey 10.1.0 → 10.1.1

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/README.md CHANGED
@@ -109,7 +109,7 @@ ArteOdyssey includes design system documentation in `docs/` directory. When inst
109
109
  - **Avatar** - User/entity avatar
110
110
  - **Badge** - Status/label indicator
111
111
  - **BaselineStatus** - Web standard support indicator
112
- - **Card** / **InteractiveCard** - Flexible content container (with hover interaction)
112
+ - **Card** - Flexible content container (hover interaction via `interactive`)
113
113
  - **Code** - Formatted code display
114
114
  - **Heading** - Typography heading component
115
115
  - **Table** - Tabular data display
@@ -243,9 +243,9 @@ pnpm add @json-render/core @json-render/react zod
243
243
  pnpm add @openuidev/react-lang zod
244
244
  ```
245
245
 
246
- Supported components (**all 47**, both frameworks):
246
+ Supported components (**all 46**, both frameworks):
247
247
 
248
- - **Layout / containers**: `Stack`, `Card`, `InteractiveCard`, `Form`
248
+ - **Layout / containers**: `Stack`, `Card`, `Form`
249
249
  - **Buttons / nav**: `Button`, `IconButton`, `Anchor`, `Breadcrumb`, `Pagination`
250
250
  - **Display**: `Badge`, `Heading`, `Avatar`, `Code`, `Icon`, `Alert`, `Spinner`, `Progress`, `Skeleton`, `Separator`, `Tabs`, `Accordion`, `Table`, `BaselineStatus`, `ScrollLinked`
251
251
  - **Overlays (self-contained widgets)**: `Modal`, `Dialog`, `Drawer`, `Popover`, `Tooltip`, `DropdownMenu`, `Toast`
@@ -1,7 +1,11 @@
1
- import { CardProps } from "./type.mjs";
2
- import { FC } from "react";
1
+ import { FC, HTMLAttributes } from "react";
3
2
 
4
3
  //#region src/components/data-display/card/card.d.ts
4
+ type CardProps = {
5
+ width?: 'full' | 'fit';
6
+ appearance?: 'shadow' | 'bordered';
7
+ interactive?: boolean;
8
+ } & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>;
5
9
  declare const Card: FC<CardProps>;
6
10
  //#endregion
7
11
  export { Card };
@@ -1,9 +1,9 @@
1
1
  import { cn } from "../../../helpers/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/data-display/card/card.tsx
4
- const Card = ({ children, width = "full", appearance = "shadow", ...rest }) => /* @__PURE__ */ jsx("div", {
4
+ const Card = ({ children, width = "full", appearance = "shadow", interactive = false, ...rest }) => /* @__PURE__ */ jsx("div", {
5
5
  ...rest,
6
- className: cn("rounded-xl", appearance === "shadow" && "shadow-sm border border-transparent dark:border-border-subtle", appearance === "bordered" && "border border-border-mute", width === "full" && "w-full", width === "fit" && "w-fit", "bg-bg-base"),
6
+ className: cn("rounded-xl", appearance === "shadow" && "shadow-sm", appearance === "bordered" && "border border-border-mute", width === "full" && "w-full", width === "fit" && "w-fit", interactive && "motion-safe:transition-transform hover:motion-safe:scale-[1.02] active:motion-safe:scale-[0.98]", "bg-bg-base"),
7
7
  children
8
8
  });
9
9
  //#endregion
@@ -1,3 +1,2 @@
1
1
  import { Card } from "./card.mjs";
2
- import { InteractiveCard } from "./interactive-card.mjs";
3
- export { Card, InteractiveCard };
2
+ export { Card };
@@ -1,3 +1,2 @@
1
1
  import { Card } from "./card.mjs";
2
- import { InteractiveCard } from "./interactive-card.mjs";
3
- export { Card, InteractiveCard };
2
+ export { Card };
@@ -2,7 +2,7 @@ import { cn } from "../../../helpers/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/data-display/table/table.tsx
4
4
  const Root = ({ children }) => /* @__PURE__ */ jsx("div", {
5
- className: "border-border-mute bg-bg-base vertical:writing-sideways-rl vertical:h-fit vertical:w-fit w-full overflow-x-auto rounded-lg border",
5
+ className: "border-border-mute bg-bg-base vertical:writing-sideways-rl vertical:size-fit w-full overflow-x-auto rounded-lg border",
6
6
  children: /* @__PURE__ */ jsx("table", {
7
7
  className: "min-w-full border-collapse text-left text-sm",
8
8
  children
@@ -3,7 +3,7 @@ declare const CheckboxGroup: import("react").FC<{
3
3
  invalid?: boolean;
4
4
  required?: boolean;
5
5
  name: string;
6
- } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "defaultValue" | "onChange" | "name"> & {
6
+ } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "onChange" | "name" | "defaultValue"> & {
7
7
  children?: import("react").ReactNode | undefined;
8
8
  } & ({
9
9
  value: string[];
@@ -18,7 +18,7 @@ declare const CheckboxGroup: import("react").FC<{
18
18
  invalid?: boolean;
19
19
  required?: boolean;
20
20
  name: string;
21
- } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "defaultValue" | "onChange" | "name"> & {
21
+ } & Omit<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, "className" | "style" | "onChange" | "name" | "defaultValue"> & {
22
22
  children?: import("react").ReactNode | undefined;
23
23
  } & ({
24
24
  value: string[];
@@ -33,7 +33,7 @@ declare const CheckboxGroup: import("react").FC<{
33
33
  Item: import("react").FC<{
34
34
  itemValue?: string;
35
35
  label: string;
36
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "className" | "style" | "defaultChecked" | "children" | "onChange" | "checked"> & ({
36
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "type" | "className" | "style" | "value" | "onChange" | "defaultChecked" | "checked" | "children"> & ({
37
37
  value: boolean;
38
38
  onChange: (checked: boolean, event: import("react").ChangeEvent<HTMLInputElement>) => void;
39
39
  defaultChecked?: never;
@@ -6,7 +6,6 @@ import { Avatar } from "./data-display/avatar/avatar.mjs";
6
6
  import { Badge } from "./data-display/badge/badge.mjs";
7
7
  import { BaselineStatus } from "./data-display/baseline-status/baseline-status.mjs";
8
8
  import { Card } from "./data-display/card/card.mjs";
9
- import { InteractiveCard } from "./data-display/card/interactive-card.mjs";
10
9
  import { Code } from "./data-display/code/code.mjs";
11
10
  import { Heading } from "./data-display/heading/heading.mjs";
12
11
  import { Table } from "./data-display/table/table.mjs";
@@ -56,4 +55,4 @@ import { useOpenContext } from "./overlays/popover/hooks.mjs";
56
55
  import { Popover } from "./overlays/popover/popover.mjs";
57
56
  import { ArteOdysseyProvider } from "./providers/arte-odyssey-provider.mjs";
58
57
  import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
59
- export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, type StackProps, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
58
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, type StackProps, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
@@ -21,7 +21,6 @@ import { Avatar } from "./data-display/avatar/avatar.mjs";
21
21
  import { Badge } from "./data-display/badge/badge.mjs";
22
22
  import { BaselineStatus } from "./data-display/baseline-status/baseline-status.mjs";
23
23
  import { Card } from "./data-display/card/card.mjs";
24
- import { InteractiveCard } from "./data-display/card/interactive-card.mjs";
25
24
  import { Code } from "./data-display/code/code.mjs";
26
25
  import { Heading } from "./data-display/heading/heading.mjs";
27
26
  import { Table } from "./data-display/table/table.mjs";
@@ -56,4 +55,4 @@ import { Modal } from "./overlays/modal/modal.mjs";
56
55
  import { Drawer } from "./overlays/drawer/drawer.mjs";
57
56
  import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
58
57
  import { ListBox } from "./overlays/list-box/list-box.mjs";
59
- export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
58
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
package/dist/index.d.mts CHANGED
@@ -6,7 +6,6 @@ import { Avatar } from "./components/data-display/avatar/avatar.mjs";
6
6
  import { Badge } from "./components/data-display/badge/badge.mjs";
7
7
  import { BaselineStatus } from "./components/data-display/baseline-status/baseline-status.mjs";
8
8
  import { Card } from "./components/data-display/card/card.mjs";
9
- import { InteractiveCard } from "./components/data-display/card/interactive-card.mjs";
10
9
  import { Code } from "./components/data-display/code/code.mjs";
11
10
  import { Heading } from "./components/data-display/heading/heading.mjs";
12
11
  import { Table } from "./components/data-display/table/table.mjs";
@@ -85,4 +84,4 @@ import { useTimeout } from "./hooks/timeout/index.mjs";
85
84
  import { useWindowResize } from "./hooks/window-resize/index.mjs";
86
85
  import { useWindowSize } from "./hooks/window-size/index.mjs";
87
86
  import { WritingMode, useWritingMode } from "./hooks/writing-mode/index.mjs";
88
- export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, type DebouncedAction, Dialog, DifficultIcon, type Direction, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, type Option, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, type StackProps, type Status, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, type WritingMode, chain, cn, createSafeContext, mergeProps, mergeRefs, useBreakpoint, useClickAway, useClient, useClipboard, useControllableState, useDebouncedTransition, useDeferredDebounce, useDisclosure, useHash, useHover, useInView, useIntersectionObserver, useInterval, useLocalStorage, useOpenContext, usePortalRoot, useResize, useScrollDirection, useScrollLock, useSessionStorage, useStep, useTimeout, useToast, useWindowResize, useWindowSize, useWritingMode };
87
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, type DebouncedAction, Dialog, DifficultIcon, type Direction, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, type GridProps, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, type Option, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, type StackProps, type Status, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, type WritingMode, chain, cn, createSafeContext, mergeProps, mergeRefs, useBreakpoint, useClickAway, useClient, useClipboard, useControllableState, useDebouncedTransition, useDeferredDebounce, useDisclosure, useHash, useHover, useInView, useIntersectionObserver, useInterval, useLocalStorage, useOpenContext, usePortalRoot, useResize, useScrollDirection, useScrollLock, useSessionStorage, useStep, useTimeout, useToast, useWindowResize, useWindowSize, useWritingMode };
package/dist/index.mjs CHANGED
@@ -31,7 +31,6 @@ import { Badge } from "./components/data-display/badge/badge.mjs";
31
31
  import { useClient } from "./hooks/client/index.mjs";
32
32
  import { BaselineStatus } from "./components/data-display/baseline-status/baseline-status.mjs";
33
33
  import { Card } from "./components/data-display/card/card.mjs";
34
- import { InteractiveCard } from "./components/data-display/card/interactive-card.mjs";
35
34
  import { Code } from "./components/data-display/code/code.mjs";
36
35
  import { Heading } from "./components/data-display/heading/heading.mjs";
37
36
  import { Table } from "./components/data-display/table/table.mjs";
@@ -84,4 +83,4 @@ import { Drawer } from "./components/overlays/drawer/drawer.mjs";
84
83
  import { DropdownMenu } from "./components/overlays/dropdown-menu/dropdown-menu.mjs";
85
84
  import { ListBox } from "./components/overlays/list-box/list-box.mjs";
86
85
  import { mergeProps } from "./helpers/merge-props.mjs";
87
- export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, chain, cn, createSafeContext, mergeProps, mergeRefs, useBreakpoint, useClickAway, useClient, useClipboard, useControllableState, useDebouncedTransition, useDeferredDebounce, useDisclosure, useHash, useHover, useInView, useIntersectionObserver, useInterval, useLocalStorage, useOpenContext, usePortalRoot, useResize, useScrollDirection, useScrollLock, useSessionStorage, useStep, useTimeout, useToast, useWindowResize, useWindowSize, useWritingMode };
86
+ export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Grid, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, Stack, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, chain, cn, createSafeContext, mergeProps, mergeRefs, useBreakpoint, useClickAway, useClient, useClipboard, useControllableState, useDebouncedTransition, useDeferredDebounce, useDisclosure, useHash, useHover, useInView, useIntersectionObserver, useInterval, useLocalStorage, useOpenContext, usePortalRoot, useResize, useScrollDirection, useScrollLock, useSessionStorage, useStep, useTimeout, useToast, useWindowResize, useWindowSize, useWritingMode };
@@ -1,4 +1,4 @@
1
- import { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconProps, InteractiveCardProps, ListBoxProps, ModalProps, NumberFieldProps, PaginationProps, PasswordInputProps, PopoverProps, ProgressProps, RadioCardProps, RadioProps, ScrollLinkedProps, SelectProps, SeparatorProps, SkeletonProps, SliderProps, SpinnerProps, StackProps, StatusIconProps, SwitchProps, TableProps, TabsProps, TextFieldProps, TextareaProps, ToastProps, TooltipProps } from "./schemas.mjs";
1
+ import { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconProps, ListBoxProps, ModalProps, NumberFieldProps, PaginationProps, PasswordInputProps, PopoverProps, ProgressProps, RadioCardProps, RadioProps, ScrollLinkedProps, SelectProps, SeparatorProps, SkeletonProps, SliderProps, SpinnerProps, StackProps, StatusIconProps, SwitchProps, TableProps, TabsProps, TextFieldProps, TextareaProps, ToastProps, TooltipProps } from "./schemas.mjs";
2
2
  import { FC, ReactNode } from "react";
3
3
 
4
4
  //#region src/integrations/_shared/renderers.d.ts
@@ -39,7 +39,6 @@ declare function renderSkeleton(props: SkeletonProps): ReactNode;
39
39
  declare function renderAccordion(props: AccordionProps): ReactNode;
40
40
  declare function renderBreadcrumb(props: BreadcrumbProps): ReactNode;
41
41
  declare function renderTable(props: TableProps): ReactNode;
42
- declare function renderInteractiveCard(props: InteractiveCardProps, children: ReactNode): ReactNode;
43
42
  declare function renderForm(props: FormProps, children: ReactNode): ReactNode;
44
43
  declare const ModalWidget: FC<{
45
44
  props: ModalProps;
@@ -71,4 +70,4 @@ declare const FormControlWidget: FC<{
71
70
  props: FormControlProps;
72
71
  }>;
73
72
  //#endregion
74
- export { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, TabsView, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderInteractiveCard, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip };
73
+ export { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, TabsView, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip };
@@ -19,7 +19,6 @@ import { Avatar } from "../../components/data-display/avatar/avatar.mjs";
19
19
  import { Badge } from "../../components/data-display/badge/badge.mjs";
20
20
  import { BaselineStatus } from "../../components/data-display/baseline-status/baseline-status.mjs";
21
21
  import { Card } from "../../components/data-display/card/card.mjs";
22
- import { InteractiveCard } from "../../components/data-display/card/interactive-card.mjs";
23
22
  import { Code } from "../../components/data-display/code/code.mjs";
24
23
  import { Heading } from "../../components/data-display/heading/heading.mjs";
25
24
  import { Table } from "../../components/data-display/table/table.mjs";
@@ -178,6 +177,7 @@ const CARD_PADDING_CLASS = {
178
177
  function renderCard(props, children) {
179
178
  return /* @__PURE__ */ jsx(Card, {
180
179
  appearance: u(props.appearance),
180
+ interactive: u(props.interactive),
181
181
  width: u(props.width),
182
182
  children: /* @__PURE__ */ jsx("div", {
183
183
  className: CARD_PADDING_CLASS[props.size ?? "md"],
@@ -473,16 +473,6 @@ function renderTable(props) {
473
473
  }, cellIndex)) }, rowIndex)) })
474
474
  ] });
475
475
  }
476
- function renderInteractiveCard(props, children) {
477
- return /* @__PURE__ */ jsx(InteractiveCard, {
478
- appearance: u(props.appearance),
479
- width: u(props.width),
480
- children: /* @__PURE__ */ jsx("div", {
481
- className: CARD_PADDING_CLASS[props.size ?? "md"],
482
- children
483
- })
484
- });
485
- }
486
476
  function renderForm(props, children) {
487
477
  return /* @__PURE__ */ jsx(Form, {
488
478
  action: u(props.action),
@@ -676,4 +666,4 @@ const FormControlWidget = ({ props }) => {
676
666
  });
677
667
  };
678
668
  //#endregion
679
- export { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, TabsView, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderInteractiveCard, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip };
669
+ export { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, TabsView, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip };
@@ -39,15 +39,17 @@ declare const buttonProps: z.ZodObject<{
39
39
  href: z.ZodOptional<z.ZodString>;
40
40
  }, z.core.$strip>;
41
41
  declare const iconName: z.ZodEnum<{
42
- link: "link";
43
- check: "check";
44
42
  form: "form";
45
43
  list: "list";
44
+ link: "link";
45
+ table: "table";
46
+ send: "send";
47
+ location: "location";
48
+ copy: "copy";
49
+ check: "check";
46
50
  plus: "plus";
47
51
  minus: "minus";
48
52
  close: "close";
49
- copy: "copy";
50
- send: "send";
51
53
  mail: "mail";
52
54
  subscribe: "subscribe";
53
55
  rss: "rss";
@@ -55,9 +57,7 @@ declare const iconName: z.ZodEnum<{
55
57
  "update-date": "update-date";
56
58
  "publish-date": "publish-date";
57
59
  "external-link": "external-link";
58
- location: "location";
59
60
  "navigation-menu": "navigation-menu";
60
- table: "table";
61
61
  view: "view";
62
62
  "view-off": "view-off";
63
63
  "light-mode": "light-mode";
@@ -94,15 +94,17 @@ declare const iconName: z.ZodEnum<{
94
94
  }>;
95
95
  declare const iconProps: z.ZodObject<{
96
96
  name: z.ZodEnum<{
97
- link: "link";
98
- check: "check";
99
97
  form: "form";
100
98
  list: "list";
99
+ link: "link";
100
+ table: "table";
101
+ send: "send";
102
+ location: "location";
103
+ copy: "copy";
104
+ check: "check";
101
105
  plus: "plus";
102
106
  minus: "minus";
103
107
  close: "close";
104
- copy: "copy";
105
- send: "send";
106
108
  mail: "mail";
107
109
  subscribe: "subscribe";
108
110
  rss: "rss";
@@ -110,9 +112,7 @@ declare const iconProps: z.ZodObject<{
110
112
  "update-date": "update-date";
111
113
  "publish-date": "publish-date";
112
114
  "external-link": "external-link";
113
- location: "location";
114
115
  "navigation-menu": "navigation-menu";
115
- table: "table";
116
116
  view: "view";
117
117
  "view-off": "view-off";
118
118
  "light-mode": "light-mode";
@@ -155,15 +155,17 @@ declare const iconProps: z.ZodObject<{
155
155
  }, z.core.$strip>;
156
156
  declare const iconButtonProps: z.ZodObject<{
157
157
  icon: z.ZodEnum<{
158
- link: "link";
159
- check: "check";
160
158
  form: "form";
161
159
  list: "list";
160
+ link: "link";
161
+ table: "table";
162
+ send: "send";
163
+ location: "location";
164
+ copy: "copy";
165
+ check: "check";
162
166
  plus: "plus";
163
167
  minus: "minus";
164
168
  close: "close";
165
- copy: "copy";
166
- send: "send";
167
169
  mail: "mail";
168
170
  subscribe: "subscribe";
169
171
  rss: "rss";
@@ -171,9 +173,7 @@ declare const iconButtonProps: z.ZodObject<{
171
173
  "update-date": "update-date";
172
174
  "publish-date": "publish-date";
173
175
  "external-link": "external-link";
174
- location: "location";
175
176
  "navigation-menu": "navigation-menu";
176
- table: "table";
177
177
  view: "view";
178
178
  "view-off": "view-off";
179
179
  "light-mode": "light-mode";
@@ -215,9 +215,9 @@ declare const iconButtonProps: z.ZodObject<{
215
215
  lg: "lg";
216
216
  }>>;
217
217
  color: z.ZodOptional<z.ZodEnum<{
218
- transparent: "transparent";
219
218
  primary: "primary";
220
219
  secondary: "secondary";
220
+ transparent: "transparent";
221
221
  base: "base";
222
222
  }>>;
223
223
  }, z.core.$strip>;
@@ -237,9 +237,9 @@ declare const chevronIconProps: z.ZodObject<{
237
237
  declare const statusIconProps: z.ZodObject<{
238
238
  status: z.ZodEnum<{
239
239
  success: "success";
240
- error: "error";
241
240
  info: "info";
242
241
  warning: "warning";
242
+ error: "error";
243
243
  }>;
244
244
  size: z.ZodOptional<z.ZodEnum<{
245
245
  sm: "sm";
@@ -251,10 +251,10 @@ declare const badgeProps: z.ZodObject<{
251
251
  text: z.ZodString;
252
252
  tone: z.ZodOptional<z.ZodEnum<{
253
253
  success: "success";
254
- error: "error";
255
- neutral: "neutral";
256
254
  info: "info";
257
255
  warning: "warning";
256
+ error: "error";
257
+ neutral: "neutral";
258
258
  }>>;
259
259
  variant: z.ZodOptional<z.ZodEnum<{
260
260
  solid: "solid";
@@ -320,21 +320,7 @@ declare const cardProps: z.ZodObject<{
320
320
  shadow: "shadow";
321
321
  bordered: "bordered";
322
322
  }>>;
323
- size: z.ZodOptional<z.ZodEnum<{
324
- sm: "sm";
325
- md: "md";
326
- lg: "lg";
327
- }>>;
328
- }, z.core.$strip>;
329
- declare const interactiveCardProps: z.ZodObject<{
330
- width: z.ZodOptional<z.ZodEnum<{
331
- full: "full";
332
- fit: "fit";
333
- }>>;
334
- appearance: z.ZodOptional<z.ZodEnum<{
335
- shadow: "shadow";
336
- bordered: "bordered";
337
- }>>;
323
+ interactive: z.ZodOptional<z.ZodBoolean>;
338
324
  size: z.ZodOptional<z.ZodEnum<{
339
325
  sm: "sm";
340
326
  md: "md";
@@ -344,9 +330,9 @@ declare const interactiveCardProps: z.ZodObject<{
344
330
  declare const alertProps: z.ZodObject<{
345
331
  tone: z.ZodEnum<{
346
332
  success: "success";
347
- error: "error";
348
333
  info: "info";
349
334
  warning: "warning";
335
+ error: "error";
350
336
  }>;
351
337
  message: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
352
338
  }, z.core.$strip>;
@@ -366,8 +352,8 @@ declare const progressProps: z.ZodObject<{
366
352
  }, z.core.$strip>;
367
353
  declare const skeletonProps: z.ZodObject<{
368
354
  shape: z.ZodOptional<z.ZodEnum<{
369
- rect: "rect";
370
355
  circle: "circle";
356
+ rect: "rect";
371
357
  }>>;
372
358
  size: z.ZodOptional<z.ZodEnum<{
373
359
  sm: "sm";
@@ -380,9 +366,9 @@ declare const toastProps: z.ZodObject<{
380
366
  triggerLabel: z.ZodString;
381
367
  tone: z.ZodEnum<{
382
368
  success: "success";
383
- error: "error";
384
369
  info: "info";
385
370
  warning: "warning";
371
+ error: "error";
386
372
  }>;
387
373
  message: z.ZodString;
388
374
  }, z.core.$strip>;
@@ -403,24 +389,24 @@ declare const stackProps: z.ZodObject<{
403
389
  column: "column";
404
390
  }>>;
405
391
  gap: z.ZodOptional<z.ZodEnum<{
406
- none: "none";
407
392
  sm: "sm";
408
393
  md: "md";
409
394
  lg: "lg";
395
+ none: "none";
410
396
  xl: "xl";
411
397
  }>>;
412
398
  padding: z.ZodOptional<z.ZodEnum<{
413
- none: "none";
414
399
  sm: "sm";
415
400
  md: "md";
416
401
  lg: "lg";
402
+ none: "none";
417
403
  xl: "xl";
418
404
  }>>;
419
405
  align: z.ZodOptional<z.ZodEnum<{
420
406
  start: "start";
421
407
  end: "end";
422
- center: "center";
423
408
  stretch: "stretch";
409
+ center: "center";
424
410
  }>>;
425
411
  justify: z.ZodOptional<z.ZodEnum<{
426
412
  start: "start";
@@ -433,10 +419,10 @@ declare const gridProps: z.ZodObject<{
433
419
  cols: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<"auto-fill">, z.ZodLiteral<"auto-fit">]>>;
434
420
  minItemSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<32>, z.ZodLiteral<40>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<80>]>>;
435
421
  gap: z.ZodOptional<z.ZodEnum<{
436
- none: "none";
437
422
  sm: "sm";
438
423
  md: "md";
439
424
  lg: "lg";
425
+ none: "none";
440
426
  xl: "xl";
441
427
  }>>;
442
428
  }, z.core.$strip>;
@@ -696,7 +682,6 @@ type PaginationProps = z.infer<typeof paginationProps>;
696
682
  type GridProps = z.infer<typeof gridProps>;
697
683
  type ChevronIconProps = z.infer<typeof chevronIconProps>;
698
684
  type StatusIconProps = z.infer<typeof statusIconProps>;
699
- type InteractiveCardProps = z.infer<typeof interactiveCardProps>;
700
685
  type FormProps = z.infer<typeof formProps>;
701
686
  type ModalProps = z.infer<typeof modalProps>;
702
687
  type DialogProps = z.infer<typeof dialogProps>;
@@ -718,4 +703,4 @@ type CoversComponent<Component, Zod> = [Exclude<NonNullable<Component>, Zod>] ex
718
703
  type AssertCovered<T extends true> = T;
719
704
  type _EnumCoverage = [AssertCovered<CoversComponent<ComponentProps<typeof Button>['variant'], ButtonProps['variant']>>, AssertCovered<CoversComponent<ComponentProps<typeof Button>['color'], ButtonProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof Button>['size'], ButtonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['tone'], BadgeProps['tone']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['variant'], BadgeProps['variant']>>, AssertCovered<CoversComponent<ComponentProps<typeof Badge>['size'], BadgeProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Card>['width'], CardProps['width']>>, AssertCovered<CoversComponent<ComponentProps<typeof Card>['appearance'], CardProps['appearance']>>, AssertCovered<CoversComponent<ComponentProps<typeof Alert>['tone'], AlertProps['tone']>>, AssertCovered<CoversComponent<ComponentProps<typeof Separator>['orientation'], SeparatorProps['orientation']>>, AssertCovered<CoversComponent<ComponentProps<typeof Separator>['color'], SeparatorProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof Modal>['type'], ModalProps['type']>>, AssertCovered<CoversComponent<ComponentProps<typeof Drawer>['side'], DrawerProps['side']>>, AssertCovered<CoversComponent<ComponentProps<typeof Heading>['type'], HeadingProps['level']>>, AssertCovered<CoversComponent<ComponentProps<typeof Avatar>['size'], AvatarProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Spinner>['size'], SpinnerProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof Skeleton>['shape'], SkeletonProps['shape']>>, AssertCovered<CoversComponent<ComponentProps<typeof Skeleton>['size'], SkeletonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof IconButton>['size'], IconButtonProps['size']>>, AssertCovered<CoversComponent<ComponentProps<typeof IconButton>['color'], IconButtonProps['color']>>, AssertCovered<CoversComponent<ComponentProps<typeof ChevronIcon>['direction'], ChevronIconProps['direction']>>, AssertCovered<CoversComponent<ComponentProps<typeof AlertIcon>['status'], StatusIconProps['status']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['direction'], StackProps['direction']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['gap'], StackProps['gap']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['align'], StackProps['align']>>, AssertCovered<CoversComponent<ComponentProps<typeof Stack>['justify'], StackProps['justify']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['cols'], GridProps['cols']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['minItemSize'], GridProps['minItemSize']>>, AssertCovered<CoversComponent<ComponentProps<typeof Grid>['gap'], GridProps['gap']>>, AssertCovered<CoversComponent<ComponentProps<typeof Breadcrumb.List>['size'], BreadcrumbProps['size']>>];
720
705
  //#endregion
721
- export { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconName, IconProps, InteractiveCardProps, ListBoxProps, ModalProps, NumberFieldProps, PaginationProps, PasswordInputProps, PopoverProps, ProgressProps, RadioCardProps, RadioProps, ScrollLinkedProps, SelectProps, SeparatorProps, SkeletonProps, SliderProps, SpinnerProps, StackProps, StatusIconProps, SwitchProps, TableProps, TabsProps, TextFieldProps, TextareaProps, ToastProps, TooltipProps, _EnumCoverage, accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, iconProps, interactiveCardProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps };
706
+ export { AccordionProps, AlertProps, AnchorProps, AutocompleteProps, AvatarProps, BadgeProps, BaselineStatusProps, BreadcrumbProps, ButtonProps, CardProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ChevronIconProps, CodeProps, DialogProps, DrawerProps, DropdownMenuProps, FileFieldProps, FormControlProps, FormProps, GridProps, HeadingProps, IconButtonProps, IconName, IconProps, ListBoxProps, ModalProps, NumberFieldProps, PaginationProps, PasswordInputProps, PopoverProps, ProgressProps, RadioCardProps, RadioProps, ScrollLinkedProps, SelectProps, SeparatorProps, SkeletonProps, SliderProps, SpinnerProps, StackProps, StatusIconProps, SwitchProps, TableProps, TabsProps, TextFieldProps, TextareaProps, ToastProps, TooltipProps, _EnumCoverage, accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, iconProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps };
@@ -213,13 +213,13 @@ const tableProps = z.object({
213
213
  const cardProps = z.object({
214
214
  width: z.enum(["full", "fit"]).optional(),
215
215
  appearance: z.enum(["shadow", "bordered"]).optional(),
216
+ interactive: z.boolean().optional(),
216
217
  size: z.enum([
217
218
  "sm",
218
219
  "md",
219
220
  "lg"
220
221
  ]).optional()
221
222
  });
222
- const interactiveCardProps = cardProps;
223
223
  const alertProps = z.object({
224
224
  tone: z.enum([
225
225
  "success",
@@ -505,4 +505,4 @@ const dropdownMenuProps = z.object({
505
505
  items: z.array(z.object({ label: z.string() })).min(1).describe("メニュー項目")
506
506
  });
507
507
  //#endregion
508
- export { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, iconProps, interactiveCardProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps };
508
+ export { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconName, iconProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps };
@@ -39,24 +39,24 @@ declare const catalog: import("@json-render/core").Catalog<{
39
39
  column: "column";
40
40
  }>>;
41
41
  gap: import("zod").ZodOptional<import("zod").ZodEnum<{
42
- none: "none";
43
42
  sm: "sm";
44
43
  md: "md";
45
44
  lg: "lg";
45
+ none: "none";
46
46
  xl: "xl";
47
47
  }>>;
48
48
  padding: import("zod").ZodOptional<import("zod").ZodEnum<{
49
- none: "none";
50
49
  sm: "sm";
51
50
  md: "md";
52
51
  lg: "lg";
52
+ none: "none";
53
53
  xl: "xl";
54
54
  }>>;
55
55
  align: import("zod").ZodOptional<import("zod").ZodEnum<{
56
56
  start: "start";
57
57
  end: "end";
58
- center: "center";
59
58
  stretch: "stretch";
59
+ center: "center";
60
60
  }>>;
61
61
  justify: import("zod").ZodOptional<import("zod").ZodEnum<{
62
62
  start: "start";
@@ -73,10 +73,10 @@ declare const catalog: import("@json-render/core").Catalog<{
73
73
  cols: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>, import("zod").ZodLiteral<4>, import("zod").ZodLiteral<5>, import("zod").ZodLiteral<6>, import("zod").ZodLiteral<"auto-fill">, import("zod").ZodLiteral<"auto-fit">]>>;
74
74
  minItemSize: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<24>, import("zod").ZodLiteral<32>, import("zod").ZodLiteral<40>, import("zod").ZodLiteral<48>, import("zod").ZodLiteral<64>, import("zod").ZodLiteral<80>]>>;
75
75
  gap: import("zod").ZodOptional<import("zod").ZodEnum<{
76
- none: "none";
77
76
  sm: "sm";
78
77
  md: "md";
79
78
  lg: "lg";
79
+ none: "none";
80
80
  xl: "xl";
81
81
  }>>;
82
82
  }, import("zod/v4/core").$strip>;
@@ -116,6 +116,7 @@ declare const catalog: import("@json-render/core").Catalog<{
116
116
  shadow: "shadow";
117
117
  bordered: "bordered";
118
118
  }>>;
119
+ interactive: import("zod").ZodOptional<import("zod").ZodBoolean>;
119
120
  size: import("zod").ZodOptional<import("zod").ZodEnum<{
120
121
  sm: "sm";
121
122
  md: "md";
@@ -130,10 +131,10 @@ declare const catalog: import("@json-render/core").Catalog<{
130
131
  text: import("zod").ZodString;
131
132
  tone: import("zod").ZodOptional<import("zod").ZodEnum<{
132
133
  success: "success";
133
- error: "error";
134
- neutral: "neutral";
135
134
  info: "info";
136
135
  warning: "warning";
136
+ error: "error";
137
+ neutral: "neutral";
137
138
  }>>;
138
139
  variant: import("zod").ZodOptional<import("zod").ZodEnum<{
139
140
  solid: "solid";
@@ -166,9 +167,9 @@ declare const catalog: import("@json-render/core").Catalog<{
166
167
  props: import("zod").ZodObject<{
167
168
  tone: import("zod").ZodEnum<{
168
169
  success: "success";
169
- error: "error";
170
170
  info: "info";
171
171
  warning: "warning";
172
+ error: "error";
172
173
  }>;
173
174
  message: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>;
174
175
  }, import("zod/v4/core").$strip>;
@@ -333,8 +334,8 @@ declare const catalog: import("@json-render/core").Catalog<{
333
334
  Skeleton: {
334
335
  props: import("zod").ZodObject<{
335
336
  shape: import("zod").ZodOptional<import("zod").ZodEnum<{
336
- rect: "rect";
337
337
  circle: "circle";
338
+ rect: "rect";
338
339
  }>>;
339
340
  size: import("zod").ZodOptional<import("zod").ZodEnum<{
340
341
  sm: "sm";
@@ -348,15 +349,17 @@ declare const catalog: import("@json-render/core").Catalog<{
348
349
  Icon: {
349
350
  props: import("zod").ZodObject<{
350
351
  name: import("zod").ZodEnum<{
351
- link: "link";
352
- check: "check";
353
352
  form: "form";
354
353
  list: "list";
354
+ link: "link";
355
+ table: "table";
356
+ send: "send";
357
+ location: "location";
358
+ copy: "copy";
359
+ check: "check";
355
360
  plus: "plus";
356
361
  minus: "minus";
357
362
  close: "close";
358
- copy: "copy";
359
- send: "send";
360
363
  mail: "mail";
361
364
  subscribe: "subscribe";
362
365
  rss: "rss";
@@ -364,9 +367,7 @@ declare const catalog: import("@json-render/core").Catalog<{
364
367
  "update-date": "update-date";
365
368
  "publish-date": "publish-date";
366
369
  "external-link": "external-link";
367
- location: "location";
368
370
  "navigation-menu": "navigation-menu";
369
- table: "table";
370
371
  view: "view";
371
372
  "view-off": "view-off";
372
373
  "light-mode": "light-mode";
@@ -429,9 +430,9 @@ declare const catalog: import("@json-render/core").Catalog<{
429
430
  props: import("zod").ZodObject<{
430
431
  status: import("zod").ZodEnum<{
431
432
  success: "success";
432
- error: "error";
433
433
  info: "info";
434
434
  warning: "warning";
435
+ error: "error";
435
436
  }>;
436
437
  size: import("zod").ZodOptional<import("zod").ZodEnum<{
437
438
  sm: "sm";
@@ -444,15 +445,17 @@ declare const catalog: import("@json-render/core").Catalog<{
444
445
  IconButton: {
445
446
  props: import("zod").ZodObject<{
446
447
  icon: import("zod").ZodEnum<{
447
- link: "link";
448
- check: "check";
449
448
  form: "form";
450
449
  list: "list";
450
+ link: "link";
451
+ table: "table";
452
+ send: "send";
453
+ location: "location";
454
+ copy: "copy";
455
+ check: "check";
451
456
  plus: "plus";
452
457
  minus: "minus";
453
458
  close: "close";
454
- copy: "copy";
455
- send: "send";
456
459
  mail: "mail";
457
460
  subscribe: "subscribe";
458
461
  rss: "rss";
@@ -460,9 +463,7 @@ declare const catalog: import("@json-render/core").Catalog<{
460
463
  "update-date": "update-date";
461
464
  "publish-date": "publish-date";
462
465
  "external-link": "external-link";
463
- location: "location";
464
466
  "navigation-menu": "navigation-menu";
465
- table: "table";
466
467
  view: "view";
467
468
  "view-off": "view-off";
468
469
  "light-mode": "light-mode";
@@ -504,9 +505,9 @@ declare const catalog: import("@json-render/core").Catalog<{
504
505
  lg: "lg";
505
506
  }>>;
506
507
  color: import("zod").ZodOptional<import("zod").ZodEnum<{
507
- transparent: "transparent";
508
508
  primary: "primary";
509
509
  secondary: "secondary";
510
+ transparent: "transparent";
510
511
  base: "base";
511
512
  }>>;
512
513
  }, import("zod/v4/core").$strip>;
@@ -612,25 +613,6 @@ declare const catalog: import("@json-render/core").Catalog<{
612
613
  }, import("zod/v4/core").$strip>;
613
614
  description: string;
614
615
  };
615
- InteractiveCard: {
616
- props: import("zod").ZodObject<{
617
- width: import("zod").ZodOptional<import("zod").ZodEnum<{
618
- full: "full";
619
- fit: "fit";
620
- }>>;
621
- appearance: import("zod").ZodOptional<import("zod").ZodEnum<{
622
- shadow: "shadow";
623
- bordered: "bordered";
624
- }>>;
625
- size: import("zod").ZodOptional<import("zod").ZodEnum<{
626
- sm: "sm";
627
- md: "md";
628
- lg: "lg";
629
- }>>;
630
- }, import("zod/v4/core").$strip>;
631
- slots: string[];
632
- description: string;
633
- };
634
616
  Form: {
635
617
  props: import("zod").ZodObject<{
636
618
  action: import("zod").ZodOptional<import("zod").ZodString>;
@@ -700,9 +682,9 @@ declare const catalog: import("@json-render/core").Catalog<{
700
682
  triggerLabel: import("zod").ZodString;
701
683
  tone: import("zod").ZodEnum<{
702
684
  success: "success";
703
- error: "error";
704
685
  info: "info";
705
686
  warning: "warning";
687
+ error: "error";
706
688
  }>;
707
689
  message: import("zod").ZodString;
708
690
  }, import("zod/v4/core").$strip>;
@@ -1,4 +1,4 @@
1
- import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, interactiveCardProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps } from "../_shared/schemas.mjs";
1
+ import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps } from "../_shared/schemas.mjs";
2
2
  import { defineCatalog } from "@json-render/core";
3
3
  import { schema } from "@json-render/react/schema";
4
4
  //#region src/integrations/json-render/catalog.ts
@@ -30,7 +30,7 @@ const catalog = defineCatalog(schema, {
30
30
  Card: {
31
31
  props: cardProps,
32
32
  slots: ["default"],
33
- description: "コンテンツをまとめるカード(コンテナ)。内側 padding は size(sm/md/lg、デフォルト md)で決まる。中身を Stack で囲む場合に重ねて padding を指定する必要はない。"
33
+ description: "コンテンツをまとめるカード(コンテナ)。内側 padding は size(sm/md/lg、デフォルト md)で決まる。中身を Stack で囲む場合に重ねて padding を指定する必要はない。interactive を付けるとホバー時にスケールする。"
34
34
  },
35
35
  Badge: {
36
36
  props: badgeProps,
@@ -152,11 +152,6 @@ const catalog = defineCatalog(schema, {
152
152
  props: paginationProps,
153
153
  description: "ページネーション。defaultPage を $bindState で束縛できる。"
154
154
  },
155
- InteractiveCard: {
156
- props: interactiveCardProps,
157
- slots: ["default"],
158
- description: "ホバーアニメーション付きのカード。Card と同様に内側 padding は size(sm/md/lg、デフォルト md)で決まる。"
159
- },
160
155
  Form: {
161
156
  props: formProps,
162
157
  slots: ["default"],
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderInteractiveCard, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip } from "../_shared/renderers.mjs";
2
+ import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderScrollLinked, renderSelect, renderSeparator, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderTooltip } from "../_shared/renderers.mjs";
3
3
  import { catalog } from "./catalog.mjs";
4
4
  import { useState } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -89,7 +89,6 @@ const { registry } = defineRegistry(catalog, { components: {
89
89
  const [page, setPage] = useBoundOrLocal(props.defaultPage, bindings?.defaultPage, 1);
90
90
  return renderPagination(props, page, setPage);
91
91
  },
92
- InteractiveCard: ({ props, children }) => renderInteractiveCard(props, children),
93
92
  Form: ({ props, children }) => renderForm(props, children),
94
93
  Modal: ({ props, children }) => /* @__PURE__ */ jsx(ModalWidget, {
95
94
  props,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderInteractiveCard, renderPopover, renderProgress, renderScrollLinked, renderSeparator, renderSkeleton, renderSpinner, renderStack, renderStatusIcon, renderTable, renderTabs, renderTooltip } from "../_shared/renderers.mjs";
3
- import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, interactiveCardProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps } from "../_shared/schemas.mjs";
2
+ import { DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAvatar, renderBadge, renderBaselineStatus, renderBreadcrumb, renderButton, renderCard, renderChevronIcon, renderCode, renderDropdownMenu, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderPopover, renderProgress, renderScrollLinked, renderSeparator, renderSkeleton, renderSpinner, renderStack, renderStatusIcon, renderTable, renderTabs, renderTooltip } from "../_shared/renderers.mjs";
3
+ import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, baselineStatusProps, breadcrumbProps, buttonProps, cardProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, dialogProps, drawerProps, dropdownMenuProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, scrollLinkedProps, selectProps, separatorProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, tooltipProps } from "../_shared/schemas.mjs";
4
4
  import { AutocompleteView, CheckboxCardView, CheckboxGroupView, CheckboxView, ListBoxView, NumberFieldView, PaginationView, PasswordInputView, RadioCardView, RadioView, SelectView, SliderView, SwitchView, TextFieldView, TextareaView } from "./form-views.mjs";
5
5
  import { Fragment } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -335,16 +335,10 @@ const library = createLibrary({
335
335
  Grid,
336
336
  defineComponent({
337
337
  name: "Card",
338
- description: "コンテンツをまとめるカード(コンテナ)。Stack も入れられる。",
338
+ description: "コンテンツをまとめるカード(コンテナ)。Stack も入れられる。interactive を付けるとホバー時にスケールする。",
339
339
  props: cardProps.extend({ children: z.array(z.union(containerChildRefs)).describe("カード内の子要素") }),
340
340
  component: ({ props, renderNode }) => renderCard(props, renderChildren(props.children, renderNode))
341
341
  }),
342
- defineComponent({
343
- name: "InteractiveCard",
344
- description: "ホバーアニメーション付きのカード。",
345
- props: interactiveCardProps.extend({ children: z.array(z.union(containerChildRefs)).describe("カード内の子要素") }),
346
- component: ({ props, renderNode }) => renderInteractiveCard(props, renderChildren(props.children, renderNode))
347
- }),
348
342
  defineComponent({
349
343
  name: "Form",
350
344
  description: "フォーム要素のラッパー(縦並びレイアウト)。",
@@ -208,8 +208,8 @@
208
208
 
209
209
  --bg-base: var(--gray-800);
210
210
  --bg-raised: var(--gray-700);
211
- --bg-surface: var(--gray-900);
212
- --bg-subtle: var(--gray-800);
211
+ --bg-surface: var(--gray-950);
212
+ --bg-subtle: var(--gray-900);
213
213
  --bg-mute: var(--gray-700);
214
214
  --bg-emphasize: var(--gray-600);
215
215
  --bg-inverse: var(--white);
@@ -70,11 +70,11 @@ declare const tokens: {
70
70
  };
71
71
  readonly 'bg-surface': {
72
72
  readonly light: "oklch(0.975 0.001 235)";
73
- readonly dark: "oklch(0.25 0.0015 235)";
73
+ readonly dark: "oklch(0.18 0.001 235)";
74
74
  };
75
75
  readonly 'bg-subtle': {
76
76
  readonly light: "oklch(0.945 0.0015 235)";
77
- readonly dark: "oklch(0.3 0.002 235)";
77
+ readonly dark: "oklch(0.25 0.0015 235)";
78
78
  };
79
79
  readonly 'bg-mute': {
80
80
  readonly light: "oklch(0.9 0.003 235)";
@@ -498,11 +498,11 @@ declare const tokens: {
498
498
  };
499
499
  readonly 'bg-surface': {
500
500
  readonly light: "oklch(0.975 0.001 235)";
501
- readonly dark: "oklch(0.25 0.0015 235)";
501
+ readonly dark: "oklch(0.18 0.001 235)";
502
502
  };
503
503
  readonly 'bg-subtle': {
504
504
  readonly light: "oklch(0.945 0.0015 235)";
505
- readonly dark: "oklch(0.3 0.002 235)";
505
+ readonly dark: "oklch(0.25 0.0015 235)";
506
506
  };
507
507
  readonly 'bg-mute': {
508
508
  readonly light: "oklch(0.9 0.003 235)";
@@ -671,11 +671,11 @@ declare const tokens: {
671
671
  };
672
672
  readonly 'bg-surface': {
673
673
  readonly light: "gray-50";
674
- readonly dark: "gray-900";
674
+ readonly dark: "gray-950";
675
675
  };
676
676
  readonly 'bg-subtle': {
677
677
  readonly light: "gray-100";
678
- readonly dark: "gray-800";
678
+ readonly dark: "gray-900";
679
679
  };
680
680
  readonly 'bg-mute': {
681
681
  readonly light: "gray-200";
@@ -68,11 +68,11 @@ const tokens = {
68
68
  },
69
69
  "bg-surface": {
70
70
  light: "oklch(0.975 0.001 235)",
71
- dark: "oklch(0.25 0.0015 235)"
71
+ dark: "oklch(0.18 0.001 235)"
72
72
  },
73
73
  "bg-subtle": {
74
74
  light: "oklch(0.945 0.0015 235)",
75
- dark: "oklch(0.3 0.002 235)"
75
+ dark: "oklch(0.25 0.0015 235)"
76
76
  },
77
77
  "bg-mute": {
78
78
  light: "oklch(0.9 0.003 235)",
@@ -494,11 +494,11 @@ const tokens = {
494
494
  },
495
495
  "bg-surface": {
496
496
  light: "oklch(0.975 0.001 235)",
497
- dark: "oklch(0.25 0.0015 235)"
497
+ dark: "oklch(0.18 0.001 235)"
498
498
  },
499
499
  "bg-subtle": {
500
500
  light: "oklch(0.945 0.0015 235)",
501
- dark: "oklch(0.3 0.002 235)"
501
+ dark: "oklch(0.25 0.0015 235)"
502
502
  },
503
503
  "bg-mute": {
504
504
  light: "oklch(0.9 0.003 235)",
@@ -667,11 +667,11 @@ const tokens = {
667
667
  },
668
668
  "bg-surface": {
669
669
  light: "gray-50",
670
- dark: "gray-900"
670
+ dark: "gray-950"
671
671
  },
672
672
  "bg-subtle": {
673
673
  light: "gray-100",
674
- dark: "gray-800"
674
+ dark: "gray-900"
675
675
  },
676
676
  "bg-mute": {
677
677
  light: "gray-200",
package/docs/GUIDE.md CHANGED
@@ -188,22 +188,22 @@ import { IconButton } from '@k8o/arte-odyssey';
188
188
  </IconButton>
189
189
  ```
190
190
 
191
- ### Card / InteractiveCard
191
+ ### Card
192
192
 
193
193
  シャドウで浮かせるのが基本。ページ背景 `bg-subtle` の上に白カード。
194
194
 
195
195
  ```tsx
196
- import { Card, InteractiveCard } from '@k8o/arte-odyssey';
196
+ import { Card } from '@k8o/arte-odyssey';
197
197
 
198
198
  // 静的カード(シャドウで浮かせる)
199
199
  <Card appearance="shadow">
200
200
  <div className="p-8">カードのコンテンツ</div>
201
201
  </Card>
202
202
 
203
- // クリック可能なカード(ホバーでスケールアップ)
204
- <InteractiveCard appearance="shadow">
203
+ // クリック可能なカード(interactive でホバー時にスケールアップ)
204
+ <Card appearance="shadow" interactive>
205
205
  <div className="p-8">コンテンツ</div>
206
- </InteractiveCard>
206
+ </Card>
207
207
  ```
208
208
 
209
209
  ### フォーム
@@ -185,29 +185,29 @@ Props (Tabs.Root):
185
185
  - `ids`: `[string, ...string[]]`(必須)
186
186
  - `defaultSelectedId`: string | null
187
187
 
188
- ### Card / InteractiveCard
188
+ ### Card
189
189
 
190
190
  コンテンツをグループ化するカード。
191
191
 
192
192
  ```tsx
193
- import { Card, InteractiveCard } from '@k8o/arte-odyssey';
193
+ import { Card } from '@k8o/arte-odyssey';
194
194
 
195
195
  // 静的カード
196
- <Card variant="primary" width="full" appearance="shadow">
196
+ <Card width="full" appearance="shadow">
197
197
  <div className="p-6">コンテンツ</div>
198
198
  </Card>
199
199
 
200
200
  // クリック可能なカード(hover:scale-[1.02], active:scale-[0.98])
201
- <InteractiveCard appearance="bordered">
201
+ <Card appearance="bordered" interactive>
202
202
  <div className="p-6">コンテンツ</div>
203
- </InteractiveCard>
203
+ </Card>
204
204
  ```
205
205
 
206
206
  Props:
207
207
 
208
- - `variant`: `'primary'` | `'secondary'`
209
208
  - `width`: `'full'` | `'fit'`
210
209
  - `appearance`: `'shadow'` | `'bordered'`
210
+ - `interactive`: boolean
211
211
 
212
212
  ### Separator
213
213
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k8o/arte-odyssey",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "description": "k8o's react ui library",
5
5
  "keywords": [
6
6
  "components",
@@ -1,7 +0,0 @@
1
- import { CardProps } from "./type.mjs";
2
- import { FC } from "react";
3
-
4
- //#region src/components/data-display/card/interactive-card.d.ts
5
- declare const InteractiveCard: FC<CardProps>;
6
- //#endregion
7
- export { InteractiveCard };
@@ -1,10 +0,0 @@
1
- import { cn } from "../../../helpers/cn.mjs";
2
- import { jsx } from "react/jsx-runtime";
3
- //#region src/components/data-display/card/interactive-card.tsx
4
- const InteractiveCard = ({ children, width = "full", appearance = "shadow", ...rest }) => /* @__PURE__ */ jsx("div", {
5
- ...rest,
6
- className: cn("rounded-xl transition-transform hover:scale-[1.02] active:scale-[0.98]", appearance === "shadow" && "shadow-sm border border-transparent dark:border-border-subtle", appearance === "bordered" && "border border-border-mute", width === "full" && "w-full", width === "fit" && "w-fit", "bg-bg-base"),
7
- children
8
- });
9
- //#endregion
10
- export { InteractiveCard };
@@ -1,9 +0,0 @@
1
- import { HTMLAttributes } from "react";
2
-
3
- //#region src/components/data-display/card/type.d.ts
4
- type CardProps = {
5
- width?: 'full' | 'fit';
6
- appearance?: 'shadow' | 'bordered';
7
- } & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style'>;
8
- //#endregion
9
- export { CardProps };
@@ -1 +0,0 @@
1
- export {};