@k8o/arte-odyssey 5.0.3 → 5.0.4

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.
@@ -11,7 +11,7 @@ const AccordionButton = ({ children }) => {
11
11
  return /* @__PURE__ */ jsxs("button", {
12
12
  "aria-controls": `${id}-panel`,
13
13
  "aria-expanded": open,
14
- className: cn("flex w-full cursor-pointer items-center justify-between rounded-md py-4 text-fg-base", "hover:text-primary-fg", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-info"),
14
+ className: cn("flex w-full cursor-pointer items-center justify-between rounded-md p-4 text-fg-base", "hover:text-primary-fg", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-info"),
15
15
  id: `${id}-button`,
16
16
  onClick: toggleOpen,
17
17
  type: "button",
@@ -1,18 +1,18 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
 
3
3
  //#region src/components/data-display/accordion/index.d.ts
4
4
  declare const Accordion: {
5
- readonly Root: react.FC<{
6
- children?: react.ReactNode | undefined;
5
+ readonly Root: _$react.FC<{
6
+ children?: _$react.ReactNode | undefined;
7
7
  }>;
8
- readonly Button: react.FC<{
9
- children?: react.ReactNode | undefined;
8
+ readonly Button: _$react.FC<{
9
+ children?: _$react.ReactNode | undefined;
10
10
  }>;
11
- readonly Item: react.FC<react.PropsWithChildren<{
11
+ readonly Item: _$react.FC<_$react.PropsWithChildren<{
12
12
  defaultOpen?: boolean;
13
13
  }>>;
14
- readonly Panel: react.FC<{
15
- children?: react.ReactNode | undefined;
14
+ readonly Panel: _$react.FC<{
15
+ children?: _$react.ReactNode | undefined;
16
16
  }>;
17
17
  };
18
18
  //#endregion
@@ -1,7 +1,7 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
 
3
3
  //#region src/components/form/checkbox-group/index.d.ts
4
- declare const CheckboxGroup: react.FC<{
4
+ declare const CheckboxGroup: _$react.FC<{
5
5
  describedbyId?: string;
6
6
  isDisabled?: boolean;
7
7
  isInvalid?: boolean;
@@ -9,7 +9,7 @@ declare const CheckboxGroup: react.FC<{
9
9
  labelId?: string;
10
10
  name: string;
11
11
  } & {
12
- children?: react.ReactNode | undefined;
12
+ children?: _$react.ReactNode | undefined;
13
13
  } & ({
14
14
  value: string[];
15
15
  onChange: (value: string[]) => void;
@@ -19,7 +19,7 @@ declare const CheckboxGroup: react.FC<{
19
19
  value?: never;
20
20
  onChange?: (value: string[]) => void;
21
21
  })> & {
22
- Root: react.FC<{
22
+ Root: _$react.FC<{
23
23
  describedbyId?: string;
24
24
  isDisabled?: boolean;
25
25
  isInvalid?: boolean;
@@ -27,7 +27,7 @@ declare const CheckboxGroup: react.FC<{
27
27
  labelId?: string;
28
28
  name: string;
29
29
  } & {
30
- children?: react.ReactNode | undefined;
30
+ children?: _$react.ReactNode | undefined;
31
31
  } & ({
32
32
  value: string[];
33
33
  onChange: (value: string[]) => void;
@@ -38,19 +38,19 @@ declare const CheckboxGroup: react.FC<{
38
38
  onChange?: (value: string[]) => void;
39
39
  })>;
40
40
  } & {
41
- Item: react.FC<{
41
+ Item: _$react.FC<{
42
42
  name?: string;
43
43
  itemValue?: string;
44
44
  isDisabled?: boolean;
45
45
  label: string;
46
46
  } & ({
47
47
  value: boolean;
48
- onChange: react.ChangeEventHandler<HTMLInputElement>;
48
+ onChange: _$react.ChangeEventHandler<HTMLInputElement>;
49
49
  defaultChecked?: never;
50
50
  } | {
51
51
  defaultChecked?: boolean;
52
52
  value?: never;
53
- onChange?: react.ChangeEventHandler<HTMLInputElement>;
53
+ onChange?: _$react.ChangeEventHandler<HTMLInputElement>;
54
54
  })>;
55
55
  };
56
56
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
2
  import { ChangeEventHandler, FC, PropsWithChildren, ReactElement } from "react";
3
3
 
4
4
  //#region src/components/form/file-field/file-field.d.ts
@@ -29,7 +29,7 @@ declare const FileField: {
29
29
  defaultValue?: File[];
30
30
  onChange?: ChangeEventHandler<HTMLInputElement>;
31
31
  webkitDirectory?: boolean;
32
- }>) => react_jsx_runtime0.JSX.Element;
32
+ }>) => _$react_jsx_runtime0.JSX.Element;
33
33
  readonly Trigger: FC<{
34
34
  renderItem: (props: {
35
35
  onClick: () => void;
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
- import * as react from "react";
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react from "react";
3
3
  import { FC, PropsWithChildren } from "react";
4
4
 
5
5
  //#region src/components/navigation/breadcrumb/breadcrumb.d.ts
@@ -8,7 +8,7 @@ declare const Breadcrumb: {
8
8
  size?: "sm" | "md" | "lg";
9
9
  }>>;
10
10
  readonly Item: FC<{
11
- children?: react.ReactNode | undefined;
11
+ children?: _$react.ReactNode | undefined;
12
12
  }>;
13
13
  readonly Separator: FC;
14
14
  readonly Link: <T extends string>({
@@ -23,7 +23,7 @@ declare const Breadcrumb: {
23
23
  href: T;
24
24
  className: string;
25
25
  }>;
26
- }>) => react_jsx_runtime0.JSX.Element;
26
+ }>) => _$react_jsx_runtime0.JSX.Element;
27
27
  };
28
28
  //#endregion
29
29
  export { Breadcrumb };
@@ -1,4 +1,4 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
  import { FC, PropsWithChildren, Ref } from "react";
3
3
 
4
4
  //#region src/components/overlays/dialog/dialog.d.ts
@@ -14,7 +14,7 @@ declare const Dialog: {
14
14
  onClose: () => void;
15
15
  }>;
16
16
  readonly Content: FC<{
17
- children?: react.ReactNode | undefined;
17
+ children?: _$react.ReactNode | undefined;
18
18
  }>;
19
19
  };
20
20
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
  import { HTMLProps, MouseEventHandler, RefObject } from "react";
3
3
 
4
4
  //#region src/components/overlays/dropdown-menu/hooks.d.ts
@@ -9,8 +9,8 @@ type MenuContext = {
9
9
  getContentProps: (userProps?: HTMLProps<HTMLElement>) => Record<string, unknown>;
10
10
  getItemProps: (userProps?: Omit<HTMLProps<HTMLButtonElement>, 'selected' | 'active'>) => Record<string, unknown>;
11
11
  };
12
- declare const MenuContext: react.Context<MenuContext | null>;
13
- declare const MenuContextProvider: react.Context<MenuContext | null>;
12
+ declare const MenuContext: _$react.Context<MenuContext | null>;
13
+ declare const MenuContextProvider: _$react.Context<MenuContext | null>;
14
14
  declare const useMenuContent: () => {
15
15
  contentProps: Record<string, unknown>;
16
16
  itemElementsRef: RefObject<(HTMLElement | null)[]>;
@@ -1,4 +1,4 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
  import { HTMLProps, RefObject } from "react";
3
3
 
4
4
  //#region src/components/overlays/list-box/hooks.d.ts
@@ -16,8 +16,8 @@ type MenuContext = {
16
16
  getContentProps: (userProps?: HTMLProps<HTMLElement>) => Record<string, unknown>;
17
17
  getItemProps: (userProps?: Omit<HTMLProps<HTMLElement>, 'selected' | 'active'>) => Record<string, unknown>;
18
18
  };
19
- declare const MenuContext: react.Context<MenuContext | null>;
20
- declare const MenuContextProvider: react.Context<MenuContext | null>;
19
+ declare const MenuContext: _$react.Context<MenuContext | null>;
20
+ declare const MenuContextProvider: _$react.Context<MenuContext | null>;
21
21
  declare const useMenuContent: () => {
22
22
  options: Option[];
23
23
  selectedIndex: number | null;
@@ -1,4 +1,4 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
  import { CSSProperties, HTMLProps, RefObject } from "react";
3
3
  import { FloatingContext, Placement, ReferenceType } from "@floating-ui/react";
4
4
 
@@ -17,8 +17,8 @@ type PopoverContext = {
17
17
  setContentRef: (node: HTMLElement | null) => void;
18
18
  contentStyles: CSSProperties;
19
19
  };
20
- declare const PopoverContext: react.Context<PopoverContext | null>;
21
- declare const PopoverProvider: react.Context<PopoverContext | null>;
20
+ declare const PopoverContext: _$react.Context<PopoverContext | null>;
21
+ declare const PopoverProvider: _$react.Context<PopoverContext | null>;
22
22
  declare const useFloatingUIContext: () => FloatingContext;
23
23
  declare const usePlacement: () => Placement;
24
24
  declare const useOpenContext: () => {
@@ -1,4 +1,4 @@
1
- import * as react from "react";
1
+ import * as _$react from "react";
2
2
  import { FC, PropsWithChildren, ReactElement } from "react";
3
3
  import { Placement } from "@floating-ui/react";
4
4
 
@@ -11,7 +11,7 @@ declare const Tooltip: {
11
11
  renderItem: (props: Record<string, unknown>) => ReactElement;
12
12
  }>;
13
13
  readonly Content: FC<{
14
- children?: react.ReactNode | undefined;
14
+ children?: _$react.ReactNode | undefined;
15
15
  }>;
16
16
  };
17
17
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k8o/arte-odyssey",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "k8o's react ui library",
5
5
  "keywords": [
6
6
  "components",
@@ -50,26 +50,26 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@chromatic-com/storybook": "5.1.1",
53
- "@storybook/addon-a11y": "10.3.3",
54
- "@storybook/addon-docs": "10.3.3",
55
- "@storybook/addon-vitest": "10.3.3",
56
- "@storybook/react-vite": "10.3.3",
53
+ "@storybook/addon-a11y": "10.3.4",
54
+ "@storybook/addon-docs": "10.3.4",
55
+ "@storybook/addon-vitest": "10.3.4",
56
+ "@storybook/react-vite": "10.3.4",
57
57
  "@tailwindcss/postcss": "4.2.2",
58
58
  "@types/react": "19.2.14",
59
59
  "@types/react-dom": "19.2.3",
60
60
  "@vitejs/plugin-react": "6.0.1",
61
- "@vitest/browser-playwright": "4.1.1",
62
- "@vitest/coverage-v8": "4.1.1",
63
- "@vitest/ui": "4.1.1",
61
+ "@vitest/browser-playwright": "4.1.2",
62
+ "@vitest/coverage-v8": "4.1.2",
63
+ "@vitest/ui": "4.1.2",
64
64
  "postcss": "8.5.8",
65
65
  "react": "19.2.4",
66
66
  "react-dom": "19.2.4",
67
- "storybook": "10.3.3",
67
+ "storybook": "10.3.4",
68
68
  "storybook-addon-mock-date": "2.0.0",
69
69
  "tailwindcss": "4.2.2",
70
70
  "vite": "8.0.3",
71
- "vite-plus": "0.1.14",
72
- "vitest": "4.1.1",
71
+ "vite-plus": "0.1.15",
72
+ "vitest": "4.1.2",
73
73
  "vitest-browser-react": "2.1.0"
74
74
  },
75
75
  "peerDependencies": {