Skip to content

hawa@0.43.0

Latest
Compare
Choose a tag to compare
@zaaakher zaaakher released this 29 Jul 10:11
· 63 commits to main since this release
  • Calendar: downgrade react-day-picker to v8.10.1
  • Chip: allow consumer to pass custom classNames
  • Make badge color optional in the sidebar of AppLayout
  • Sidebar: Allow adding badge to menu items that have subitems and subitems directly.
  • Add onErrorDismissed to LoginForm to allow extra customization of alert dismissal
  • DataTable: add resetSelection prop to be used to reset selection by passing in a changing value.
  • Change passwordLength prop to minPasswordLength
  • Apply minPasswordLength to RegisterForm
  • Fix Sika logo in Logos component
  • Update dependencies
  • Update dependencies
  • Sonner: fix wrong position on mobile when direction is rtl
  • Fix extra space when no filters are provided to DataTable
  • Fix DialogFooter flex issue on mobile screens
  • Allow conumer to pass contentProps to DropdownMenu component
  • DataTable: add ability to set quick filters and apply them.
  • Add Behance, Linkedin, Telegram, Youtube, and Tiktok logos to the Logo component
  • DataTable: add ability to select rows and trigger bulk actions on them
  • Remove Floatbox in favor of a radix-ui Popover within the Tab trigger
  • Fix missing gap in DialogFooter
  • Rename inForm to asInput prop in Button component.
  • Add userViewportSize hook
  • Add useWindowEvent hook
  • Add onDrawerExpanded prop in AppLayout to allow consumer to trigger their custom functions when drawer state changes
  • Add aria props to DropdownMenuRadio
  • Allow consumer to pass all default props to DropdownMenuRadioGroup and DropdownMenuRadioItem
  • Allow consumer to pass containerClassNames to Radio
  • ContactForm: ability to customize submit button
  • DataTable: ability to hide header with hideHeader prop
  • Logos: adds X, AppleStore, GooglePlay, Visa, and MasterCard` logos
  • Fix spacing style in Sonner
  • Add ability to pass overlayProps to DialogContent
  • Add ability to pass custom id's to Dialog components
  • Ability to stylize DialogOverlay and the Dialog close button using classNames object
  • Ability to stylize DropdownMenuSeparator
  • Button: add asInput prop to include a label above the button and a helper text under it.
  • PinInput revamped entierly to use input-otp package
  • CodeConfirmation ability to control the code length
  • Use HelperText component in all places it should be used
  • change text prop to label
  • add callback to be triggerd with subitem.action is triggered
  • Fix wrong height in AppCommand
  • Add actions in CardHeader
  • Tabs: add a new property scrollable to cancel wrapping and make it horizontally scrollable (and draggable!). And forces scrollabilities on screens smaller than 768px
  • Adds fade on right/left when the tabs are dragged/scrolled horizontally
  • useShortcuts: a new hook to handle shortcuts on windows and mac.
  • ScrollArea add ability to make it draggable on non-mobile
  • FullCommand a single component to construct a command using the Command pieces
  • AppCommand a FullCommand within a controllable Dialog which can be triggered with a shortcut using useShortcuts
  • AppLayout: add layout when side drawer is open while on mobile
  • Dialog: fix width on mobile
  • AppLayout: fix drawer flashes open on mobile for a sec on initial load
  • DataTable: update storage item key
  • Select: Remove autofocus
  • Input, PinInput, PhoneInput, and ColorPicker: standardize placeholder text color
  • DatePickerButton: ability to customize placeholder text
  • DatePickerButton: fix wrong icon position when in RTL
  • Input: add isLoadingError boolean to replace input with error skeleton
  • Input: ability to set loadingErrorMessage for when isLoadingError is true
  • DataTable: resolve issue with column visibility not persistant on page refresh
  • AppLayout final fix for click outside on mobile
  • Improve useClickOutside hook
  • Use the Portal component from @headlessui/react in DropdownMenu
  • Ability to pass triggerProps to DropdownMenu components
  • Make dropdown menu trigger asChild: true by default in AppLayout
  • HelperText: fix missing React import
  • DatePickerButton: ablility to pass buttonProps
  • CodeConfirmation fix cancel button variant
  • Button: ability to pass labelProps
  • Button: adds HelperText and the ability to show/hide it with showHelperText prop
  • DataTable an X button in the search input to clear search
  • DatePicker: ability to pass popoverContentProps
  • DatePickerButton: additional customization with buttonClassNames
  • New component: HelperText
  • Input: fix width issues
  • Radio: ability to pass tooltip and tooltipContentProps to a radio option
  • AppLayout: minor UI fixes + cleanup
  • Improve Chip colors in dark mode
  • ContactForm add showSuccess prop with ablility to customize success message
  • New component: ImageCard
  • New components: Calendar, DatePicker, and DatePickerButton
  • DataTable fix i18nKey to use existing translateFn
  • DataTable: add i18nKey meta property in the ColumnDef to allow consumer to pass custom text for the column hiding list
  • Make phoneInputProps optional in LoginForm