@jack.winter/pancake-ui 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,21 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 0.1.2
4
4
 
5
- - Prepare the first npm release as `@jack.winter/pancake-ui@0.1.0` (publication pending), with MIT code licensing and retained SIL Open Font License notices for Inter. Migrate consumer imports to the scoped name.
5
+ - No component API or behaviour changes. Remove a Pagination hover rule that had nothing left to cancel, and drop the `Progress` and `sizing` doc comments from the type declarations; the guides carry those notes.
6
+ - Give repeated rules one owner inside the library: field descriptions and their ARIA wiring, token-name to CSS-variable naming, the font family, menu typeahead timing, and the tooltip hide delay.
7
+ - Give the test servers, story URLs and WebKit tab key one owner in the browser suite, and type through the keyboard in the TextField keyboard contract test.
8
+ - Report only a missing Storybook build as missing in the story checks, share symbol discovery between the story and comparison gates, and make the contract-gate tests fail for the rules they name.
9
+ - Add commands, an owners table, standards and commit rules to the contributor instructions.
10
+
11
+ ## 0.1.1
12
+
13
+ - Clarify registry installation and the first trusted-publisher release deadline.
14
+ - Validate GitHub trusted publishing using the verified package archive. No runtime component changes.
15
+
16
+ ## 0.1.0
17
+
18
+ - Publish the first npm release as `@jack.winter/pancake-ui@0.1.0`, with MIT code licensing and retained SIL Open Font License notices for Inter. Migrate consumer imports to the scoped name.
6
19
  - Add a manual trusted-publishing workflow that publishes the exact verified main-branch archive, with source, checksum, package metadata, and license checks.
7
20
 
8
21
  - Run CI once per PR revision, cancel superseded PR runs, share build outputs across parallel browser jobs, and retain a required gate for all checks.
package/README.md CHANGED
@@ -17,7 +17,7 @@ npm install @jack.winter/pancake-ui
17
17
  for an unpublished change, download `pancake-ui-package` from a successful main-branch [Verify run](https://github.com/j4ckwinter/pancake-ui/actions/workflows/verify.yml). extract the ZIP into your app’s `vendor/pancake-ui/` folder, then install the archive:
18
18
 
19
19
  ```sh
20
- npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.1.0.tgz
20
+ npm install ./vendor/pancake-ui/jack.winter-pancake-ui-0.1.2.tgz
21
21
  ```
22
22
 
23
23
  use the filename you downloaded, and commit the archive, manifest, and app lockfile alongside `package.json`. see [installation and releases](docs/installation.md) for local builds, upgrades, and registry release setup.
@@ -1,3 +1,3 @@
1
1
  import type { KeyboardEvent } from "react";
2
2
  export declare function menuItems(panel: HTMLDivElement): HTMLElement[];
3
- export declare function menuKeyboard(): (event: KeyboardEvent<HTMLDivElement>, trigger: HTMLButtonElement | null) => void;
3
+ export declare function menuKeyboard(now: () => number): (event: KeyboardEvent<HTMLDivElement>, trigger: HTMLButtonElement | null) => void;
@@ -0,0 +1,16 @@
1
+ import type { AriaAttributes } from "react";
2
+ type FieldDescriptionInput = {
3
+ generatedId: string;
4
+ error?: string;
5
+ helperText?: string;
6
+ describedBy?: string;
7
+ invalid?: AriaAttributes["aria-invalid"];
8
+ };
9
+ export declare function fieldDescription({ generatedId, error, helperText, describedBy, invalid, }: FieldDescriptionInput): {
10
+ readonly id: string;
11
+ readonly text: string | undefined;
12
+ readonly describedBy: string | undefined;
13
+ readonly invalid: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
14
+ readonly live: "assertive" | "polite";
15
+ };
16
+ export {};
@@ -4,5 +4,4 @@ export type ProgressProps = Omit<ComponentPropsWithRef<"progress">, "children" |
4
4
  value?: number;
5
5
  max?: number;
6
6
  };
7
- /** Native progress; ref, className and style target the progress element. */
8
7
  export declare function Progress({ label, value, max, id, className, ...props }: ProgressProps): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const kebab: (value: string) => string;
@@ -44,7 +44,6 @@ export declare const radii: Readonly<{
44
44
  readonly radiusFull: 999;
45
45
  }>;
46
46
  export type RadiusToken = keyof typeof radii;
47
- /** Fixed UI geometry on the shared four-point grid. */
48
47
  export declare const sizing: Readonly<{
49
48
  readonly size0: 0;
50
49
  readonly size4: 4;
@@ -83,8 +82,9 @@ export declare const opacity: Readonly<{
83
82
  readonly opacityOverlay: 0.5;
84
83
  }>;
85
84
  export type OpacityToken = keyof typeof opacity;
85
+ export declare const fontFamily = "Inter, sans-serif";
86
86
  export type FoundationTextStyle = Readonly<{
87
- fontFamily: "Inter, sans-serif";
87
+ fontFamily: typeof fontFamily;
88
88
  fontSize: number;
89
89
  fontWeight: "400" | "600" | "700";
90
90
  fontStyle: "normal";