yarn grommet 2.55.0
v2.55.0

9 hours ago

General:

  • Added children prop for fully custom Tag content and expanded the name and value props to allow a node to be passed. (#7952)
  • Enhanced Cards to have onOrder prop enabling drag-and-drop and keyboard (arrow key) reordering. Added sizeKey prop to allow individual cards to span multiple grid columns and/or rows. (#7959)
  • Fixed pad, margin, and other edge-size props generating incorrect responsive CSS overrides when a theme token is not defined for a given breakpoint. (#6969)
  • Fixed Calendar reference prop being ignored when used in controlled mode (reference + onReference). Also added activeDate as a second argument to onSelect to simplify dual-calendar range implementations. (#7915)
  • Fixed DataFilter filter controls not rendering for numeric properties that have only one unique value. (#7853)
  • Fixed Drop placement when a component is near the viewport edge. (#7954)
  • Fixed FileInput clearing a previously selected file when the user opens and then cancels the browser file picker dialog. (#7958)
  • Fixed resize handler crash in Grommet component when document.body is null, falling back to window.innerWidth. (#7923)
  • Fixed TextInput width prop being ignored when readOnly or readOnlyCopy is enabled. (#7919)

DateInput:

  • Fixed clearing typed values that fall outside calendarProps.bounds. The input now keeps the value, sets aria-invalid, and shows a validation error message when inside a Form. (#7957)
  • Fixed Calendar overflowing outside its constrained Drop container. (#7961)

TypeScript:

  • Added index signature to breakpointEdgeSize and global.edgeSize type declarations to support custom string size values. (#7953)

Don't miss a new grommet release

NewReleases is sending notifications on new releases.