@adaptavant/eds-core@1.6.0

✨⚙️ Introducing version 1.6.0. Enjoy! ✨⚙️

🛠️ Enhancements

  1. <Button />, <IconButton />: Align styles and component behavior in isDisabled and isLoading states.
  2. <GetPro />: Give the possibility to pass label via prop to support translation from the consumer end.
  3. <DropdownMenuItem />: Give control over whether to close popover or not on item click. Consumers can prevent closing by returning false on onClick callback
  4. Tailwind: Export general tokens for correct linking class names with css variables.
  5. <Filtermenu />, <SelectMenu />,: Fixed popover to close when opened by clicking on <Field /> label.

Minor Changes

  • d9d5464: Button and IconButton: Updated Disabled and Loading styles.
  • c83955a: Calendar: deprecate component.

Patch Changes

  • a6f195a: GetPro: Added ability to change content of GetPro component via new 'label' prop.
  • d69fb8b: DropdownMenuItem: Added logic to prevent Dropdown closing when consumer's onClick returns "false"
  • 2927ae1: Export general tokens
  • 6e8f7ea:
    • Field: Created ref and passed down toLabelelement
    • FieldContextProvider: Added one more value labelRef to context value
    • Combobox, Filtermenu, SelectMenu, TimePicker, and TimeZonePicker: Passed labelRef to useClickAway hook along with other memoised refs