@k2b/ui 0.4.0 → 0.4.2

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.
@@ -3,7 +3,9 @@ import type { ValueFieldProps } from "./field-contract";
3
3
  export type NumberInputProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "max" | "min" | "onChange" | "onInput" | "prefix" | "step" | "type" | "value" | keyof ValueFieldProps<number | null>> & ValueFieldProps<number | null> & {
4
4
  max?: number;
5
5
  min?: number;
6
+ /** Stepper increment and commit grid; defaults to `1`. A fractional step also sets the default `decimalPlaces`. */
6
7
  step?: number;
8
+ /** Accepted fraction digits. Defaults to the fraction digits of `step` (`0.01` → `2`, `1` → `0`); an explicit value wins. */
7
9
  decimalPlaces?: number;
8
10
  allowNegative?: boolean;
9
11
  clearable?: boolean;
@@ -2,6 +2,7 @@ import { type JSX } from "solid-js";
2
2
  export declare const bottomSheetOptions: {
3
3
  panelClassName: string;
4
4
  contentClassName: string;
5
+ initialFocus: (dialog: HTMLDialogElement) => HTMLElement | null;
5
6
  };
6
7
  export type BottomSheetProps = {
7
8
  children: JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k2b/ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Production-ready components for SolidJS applications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -61,7 +61,7 @@
61
61
  "@types/bun": "1.4.2",
62
62
  "babel-preset-solid": "1.9.12",
63
63
  "bun-plugin-tailwind": "0.1.2",
64
- "happy-dom": "20.11.1",
64
+ "happy-dom": "20.11.2",
65
65
  "hono": "4.12.32",
66
66
  "seroval": "1.6.0",
67
67
  "solid-js": "1.9.14",