@windmorph/react 0.1.2 → 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.
Files changed (45) hide show
  1. package/dist/components/checkbox/checkbox-tokens.d.ts +1 -1
  2. package/dist/components/date-picker/date-picker-styles.d.ts +3 -3
  3. package/dist/components/dialog/dialog-styles.js +5 -5
  4. package/dist/components/dialog/dialog-styles.js.map +1 -1
  5. package/dist/components/menu/use-reveal-entering.d.ts +19 -0
  6. package/dist/components/navigation/NavItem.js +1 -1
  7. package/dist/components/navigation/NavItem.js.map +1 -1
  8. package/dist/components/navigation/NavigationRail.d.ts +21 -2
  9. package/dist/components/navigation/NavigationRail.js +18 -4
  10. package/dist/components/navigation/NavigationRail.js.map +1 -1
  11. package/dist/components/navigation/navigation-styles.d.ts +21 -0
  12. package/dist/components/navigation/navigation-styles.js +6 -1
  13. package/dist/components/navigation/navigation-styles.js.map +1 -1
  14. package/dist/components/select/Select.js +6 -1
  15. package/dist/components/select/Select.js.map +1 -1
  16. package/dist/components/select/search-list.js +1 -1
  17. package/dist/components/select/search-list.js.map +1 -1
  18. package/dist/components/snackbar/snackbar-tokens.d.ts +1 -1
  19. package/dist/components/text-field/TextField.js +9 -1
  20. package/dist/components/text-field/TextField.js.map +1 -1
  21. package/dist/components/time-picker/TimeField.d.ts +118 -0
  22. package/dist/components/time-picker/TimeField.js +183 -0
  23. package/dist/components/time-picker/TimeField.js.map +1 -0
  24. package/dist/components/time-picker/TimeFieldDialog.js +70 -0
  25. package/dist/components/time-picker/TimeFieldDialog.js.map +1 -0
  26. package/dist/components/time-picker/TimePicker.js +1 -4
  27. package/dist/components/time-picker/TimePicker.js.map +1 -1
  28. package/dist/components/time-picker/hour-cycle.js +10 -0
  29. package/dist/components/time-picker/hour-cycle.js.map +1 -0
  30. package/dist/components/time-picker/time-format.js +84 -0
  31. package/dist/components/time-picker/time-format.js.map +1 -0
  32. package/dist/composites/button-group/ButtonGroup.d.ts +7 -0
  33. package/dist/composites/button-group/ButtonGroup.js +3 -2
  34. package/dist/composites/button-group/ButtonGroup.js.map +1 -1
  35. package/dist/composites/button-group/button-group-styles.d.ts +15 -3
  36. package/dist/composites/button-group/button-group-styles.js +16 -1
  37. package/dist/composites/button-group/button-group-styles.js.map +1 -1
  38. package/dist/index.d.ts +4 -2
  39. package/dist/index.js +4 -2
  40. package/dist/primitives.d.ts +4 -1
  41. package/dist/primitives.js +4 -1
  42. package/dist/styles.compiled.css +1 -1
  43. package/dist/utils/closed-by.d.ts +5 -0
  44. package/dist/utils/placement.d.ts +11 -0
  45. package/package.json +2 -2
@@ -5,5 +5,10 @@
5
5
  * only) or `none` (only by the app or the surface's own buttons).
6
6
  */
7
7
  export type ClosedBy = 'any' | 'closerequest' | 'none';
8
+ /** React Aria's `useModalOverlay` options for a `closedBy` value. */
9
+ export declare function closedByOverlayOptions(closedBy: ClosedBy, isExiting: boolean): {
10
+ isDismissable: boolean;
11
+ isKeyboardDismissDisabled: boolean;
12
+ };
8
13
  //#endregion
9
14
  //# sourceMappingURL=closed-by.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { Placement } from "react-aria";
2
+ //#region src/utils/placement.d.ts
3
+ /**
4
+ * React Aria's placement for one of ours: a hyphenated, logical value (`'bottom-start'`, as
5
+ * Floating UI and most libraries write it) becomes its spaced, physical form (`'bottom left'`),
6
+ * resolving `start` / `end` from the laid-out direction, since React Aria reads its locale
7
+ * rather than the DOM's `dir`.
8
+ */
9
+ export declare function toAriaPlacement(placement: string, rtl: boolean): Placement;
10
+ //#endregion
11
+ //# sourceMappingURL=placement.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windmorph/react",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "React component library implementing Material Design 3 Expressive, built on React Aria, Tailwind CSS v4 and Motion.",
5
5
  "keywords": [
6
6
  "react",
@@ -95,7 +95,7 @@
95
95
  "axe-core": "^4.14.0",
96
96
  "jsdom": "^30.1.2",
97
97
  "motion": "^14.0.0",
98
- "next": "^16.4.3",
98
+ "next": "^16.4.5",
99
99
  "react": "^19.3.0",
100
100
  "react-dom": "^19.3.0",
101
101
  "tailwindcss": "^4.3.3",