@alea-design/ui 0.1.0 → 0.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.
@@ -0,0 +1,2 @@
1
+ /** Props that set the DOM `inert` attribute in React 18 and 19. React 19 maps the boolean to the attribute; React 18 does not know the prop, so it gets the attribute as an empty string (present = inert). Spread the result on an element: `<div {...inertProps(busy)}>`. It is typed loosely on purpose, so it compiles with the React 18 types, which have no `inert`. */
2
+ export declare function inertProps(on: boolean | undefined): Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alea-design/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Alea: the complete React design system. Accessible components from forms to AI, charts and editors, Alea Motion, and W3C design tokens for dark, light and high contrast.",
5
5
  "keywords": [
6
6
  "react",