@a4ui/core 0.1.1 → 0.2.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.
@@ -1 +1,5 @@
1
- export declare function EffectsToggle(): import("solid-js").JSX.Element;
1
+ interface EffectsToggleProps {
2
+ label?: string;
3
+ }
4
+ export declare function EffectsToggle(props: EffectsToggleProps): import("solid-js").JSX.Element;
5
+ export {};
@@ -1,2 +1,6 @@
1
1
  import { JSX } from 'solid-js';
2
- export declare function ThemeToggle(): JSX.Element;
2
+ interface ThemeToggleProps {
3
+ label?: string;
4
+ }
5
+ export declare function ThemeToggle(props: ThemeToggleProps): JSX.Element;
6
+ export {};
@@ -5,6 +5,10 @@ interface DateFieldProps {
5
5
  label?: string;
6
6
  disabled?: boolean;
7
7
  class?: string;
8
+ /** Full month names, January … December order (12 entries). */
9
+ months?: string[];
10
+ /** Weekday headers, Monday-first (7 entries). */
11
+ weekdays?: string[];
8
12
  }
9
13
  export declare function DateField(props: DateFieldProps): JSX.Element;
10
14
  export {};
@@ -5,6 +5,7 @@ interface DrawerProps extends ParentProps {
5
5
  title?: string;
6
6
  subtitle?: string;
7
7
  class?: string;
8
+ closeLabel?: string;
8
9
  }
9
10
  export declare function Drawer(props: DrawerProps): JSX.Element;
10
11
  export {};
@@ -5,6 +5,7 @@ interface ModalProps extends ParentProps {
5
5
  title?: string;
6
6
  variant?: 'drawer' | 'center';
7
7
  class?: string;
8
+ closeLabel?: string;
8
9
  }
9
10
  export declare function Modal(props: ModalProps): JSX.Element;
10
11
  export {};
@@ -4,6 +4,11 @@ interface PaginationProps {
4
4
  totalPages: number;
5
5
  onChange: (page: number) => void;
6
6
  summary?: JSX.Element;
7
+ labels?: {
8
+ previous?: string;
9
+ next?: string;
10
+ page?: (page: number, total: number) => string;
11
+ };
7
12
  }
8
13
  export declare function Pagination(props: PaginationProps): JSX.Element;
9
14
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a4ui/core",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "A4ui — Spatial Glass design system & component library for SolidJS (Kobalte behavior + Tailwind glass tokens + motion).",
5
5
  "type": "module",
6
6
  "license": "MIT",