Releases: sikka-software/Hawa
Releases · sikka-software/Hawa
hawa@0.43.0
Calendar
: downgradereact-day-picker
to v8.10.1Chip
: 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
toLoginForm
to allow extra customization of alert dismissal DataTable
: addresetSelection
prop to be used to reset selection by passing in a changing value.- Change
passwordLength
prop tominPasswordLength
- Apply
minPasswordLength
toRegisterForm
- 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
toDropdownMenu
component DataTable
: add ability to set quick filters and apply them.- Add
Behance
,Linkedin
,Telegram
,Youtube
, andTiktok
logos to theLogo
component DataTable
: add ability to select rows and trigger bulk actions on them- Remove
Floatbox
in favor of a radix-uiPopover
within theTab
trigger - Fix missing gap in
DialogFooter
- Rename
inForm
toasInput
prop inButton
component. - Add
userViewportSize
hook - Add
useWindowEvent
hook - Add
onDrawerExpanded
prop inAppLayout
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
andDropdownMenuRadioItem
- Allow consumer to pass
containerClassNames
toRadio
ContactForm
: ability to customize submit buttonDataTable
: ability to hide header withhideHeader
propLogos
: addsX
,AppleStore
,GooglePlay
,Visa, and
MasterCard` logos- Fix spacing style in
Sonner
- Add ability to pass
overlayProps
toDialogContent
- Add ability to pass custom id's to Dialog components
- Ability to stylize
DialogOverlay
and the Dialog close button usingclassNames
object - Ability to stylize
DropdownMenuSeparator
Button
: addasInput
prop to include a label above the button and a helper text under it.PinInput
revamped entierly to useinput-otp
packageCodeConfirmation
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
inCardHeader
Tabs
: add a new propertyscrollable
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-mobileFullCommand
a single component to construct a command using theCommand
piecesAppCommand
aFullCommand
within a controllableDialog
which can be triggered with a shortcut usinguseShortcuts
AppLayout
: add layout when side drawer is open while on mobileDialog
: fix width on mobileAppLayout
: fix drawer flashes open on mobile for a sec on initial loadDataTable
: update storage item keySelect
: Remove autofocusInput
,PinInput
,PhoneInput
, andColorPicker
: standardize placeholder text colorDatePickerButton
: ability to customize placeholder textDatePickerButton
: fix wrong icon position when in RTLInput
: addisLoadingError
boolean to replace input with error skeletonInput
: ability to setloadingErrorMessage
for whenisLoadingError
is trueDataTable
: resolve issue with column visibility not persistant on page refreshAppLayout
final fix for click outside on mobile- Improve
useClickOutside
hook - Use the
Portal
component from@headlessui/react
inDropdownMenu
- Ability to pass
triggerProps
toDropdownMenu
components - Make dropdown menu trigger
asChild: true
by default inAppLayout
HelperText
: fix missing React importDatePickerButton
: ablility to passbuttonProps
CodeConfirmation
fix cancel button variantButton
: ability to passlabelProps
Button
: addsHelperText
and the ability to show/hide it withshowHelperText
propDataTable
an X button in the search input to clear searchDatePicker
: ability to passpopoverContentProps
DatePickerButton
: additional customization withbuttonClassNames
- New component:
HelperText
Input
: fix width issuesRadio
: ability to passtooltip
andtooltipContentProps
to a radio optionAppLayout
: minor UI fixes + cleanup- Improve
Chip
colors in dark mode ContactForm
addshowSuccess
prop with ablility to customize success message- New component:
ImageCard
- New components:
Calendar
,DatePicker
, andDatePickerButton
DataTable
fixi18nKey
to use existingtranslateFn
DataTable
: addi18nKey
meta property in theColumnDef
to allow consumer to pass custom text for the column hiding list- Make
phoneInputProps
optional inLoginForm
hawa@0.32.0
- Fix phone validation in
LoginForm
- Ability to pass custom list of
countryCodes
inPhoneInput
RegisterForm
,LoginForm
,ResetPassword
: Trim email fields to ignore whitespace and make it lowercase.AppLayout
: improve drawer UX in mobileAppLayout
: Disallow collapsing side drawer on click outside when screen larger than 600px- Fix clicking outside the drawer of
AppLayout
- Add
useOutsideClick
hook PhoneInput
: ability to pass input props viainputProps
Select
: fix styling of whenisMulti
prop is trueCombobox
: ability to pass custom element as the selected option viarenderSelected
propSonner
: use IBM Plex Sans font and make the title boldCombobox
: remove unneeded scrollbarCard
: addasContainer
prop to remove card stylesAppLayout
: addbordered
prop to add a border- Ability to display error in
ResetPasswordForm
andNewPasswordForm
- New
Sonner
component to replace theToaster
RegisterForm
: AddtooLong
username validation when username is longer than 12 characters.ResetPassword
: AddisLoading
boolean to show spinner during submissionNewPassword
: AddisLoading
boolean to show spinner during submission- Fix not returning value in
onChange
ofRadio
component - Make
withArrow
false by default inFloatBox
- Add tailwind arrow plugin
- Display an arrow in
FloatBox
- Add
useMeasureDirty
hook to be used to measure components by passing its ref. - Adjust the positioning of
FloatBox
component - Complete the integration of
FloatBox
inTabsTrigger
component. - Export
PopoverRoot
to be available for consumers FloatBox
: a new component that's inspired from thePopover
component but doesn't require a trigger.- Use
FloatBox
inTabsTrigger
to show an optional hint/feedback to users about a tab. - Export
BreadcrumbItemProps
to be user as a type by consumers - Add size variant for
Breadcrumb
component - Remove scroll arrow from
Comobox
when no items are in the popover. - Ability to use radio groups in
DropdownMenu
via the itemType: radio Combobox
: ability to use nested properties in labelKey- Extract
CommandInput
props to be accessable inCombobox
via theinputProps
property - Fix search filtering in
Command
- Fix aria-disabled issue in
CommandItem
according to this - Fix conditional props in
Codeblock
- Fix missing rounded radius in
Dialog
when screen issm
- Fix ref forwarding in
Command
- Allow making column hidden by default in
DataTable
- Fix
Radio
tabs height to be 40px - Fix required types for
Select
andDropdownMenu
- Fix dark mode colos for
Radio
when design is "cards" - Add forwardRef for
Radio
component - Ability to hide redirection to login from within
RegisterForm
- Apply
maxSize
option inDataTable
andSimpleTable
- Add
noPadding
prop toCardFooter
- Add
cardless
boolean prop toLoginForm
andRegisterForm
for hiding the card UI - Fix background color of
Alert
when severity is "none" - Add
headerless
option toSimpleTable
to hide the table header - Add
extra
prop toSimpleTable
to allow the consumer to append extra JSX at the end of the table - Fix trigger option inside the
Accordion
items array to be a react node instead of text. - Add
label
andlabelProps
toProgress
component - Add
prefixText
inInput
- Add
noDestroy
prop inAlert
to prevent the element from being removed from DOM - Add
onErrorDismissed
prop inRegisterForm
to control what happens when the alert is closed - Add ability to customize option for
Combobox
- Fix issue with not able to scroll a
Combobox
while inside aDialog
- Fix missing types from
SimpleTable
- Add
disabled
prop toRadio
component when the design prop is set totabs
- Fix link component in
DropdownMenuItem
- Add custom link component to
DropDownMenuItem
andDropDownMenu
- Add
MenuLinkComponent
toAppLayout
- Replace anchor in
AppLayout
- Fix change event in
ColorPicker
- Ability to pass custom anchor component for
AppLayout
subitems - Adds
value
prop toRadio
- Adds
helperText
props toRadio
when design istabs
- Adds ability to stylize the logo in
AppLayout
- Adds label option to
Radio
when design istabs
- Add
PhoneMockup
element for iPhone and Andriod - handling submit screen in
FeedbackForm
- Added Nafath and Metamask auth buttons in
AuthButtons
- Fixed tos text wrapping in
RegisterForm
- Fixed overflow and text wrapping in
CodeBlock
hawa@0.28.0
0.28.0
- Adds new variants (
underlined
andunderlined_tabs
) toTabs
- Initial integration of 'tailwind-variants' package
- Exported
AuthButtons
from the blocks directory - Added
hideIcon
prop toAvatar
- Added
placeholder
prop toPhoneInput
- Removed unused old prop from
Alert
- ContactForm: added default text strings and made
onSubmit
a required prop - RegisterForm: added classnames to allow consumers to customize the block.
- Fixed
maxWidth
andmaxHeight
to not exceed the screen width & height forTooltip
andPopover
- Added default texts in
RegisterForm
- Made the terms checkbox conditional rendering false by default in
RegisterForm
- Made essential props required in
LoginForm
- Added
use client
directive to all components viatsup
config - Added
prefixText
toInput
which adds a non-editable text before the input itself. - Added ability to disable
Tooltip
- Added
loadingCard
andloadingPrice
toPricingCard
which will show a skeleton if true. - Added loading ability to cards in
PricingPlans
- Fixed fade direction in
Skeleton
- Added
fade
feature toSkeleton
- Made
name
property required inRadio
- Added sizes to
Loading
- Added sizes to
Tooltip
- Fixed missing loading state in
FeedbackForm
- Made usernameOptions optional in
RegisterForm
FeedbackForm
: add min-h for the textarea- Removed padding when
cardless
is true forContactForm
andFeedbackForm
- Fixed label spacing in
FeedbackForm
- Fixed textarea submission for
FeedbackForm
Loading
: progress design now inherits the global--radius
CSS variable- Fixed textarea height in
ContactForm
hawa@0.27.0
- Fixed max height UI issue in
CodeBlock
- Added
usernameOptions
inRegisterForm
to allow consumer to customize the username field. - Fixed
DropdownMenu
height exceeding the screen. - Exported
TextFieldTypes
ContactForm
block now acceptscustomFields
to allow consumer to add their own custom fields.Loading
: added classnames forcontainer
,track
, andcar
to customize loading designs- Fixed RTL width issue in
ColorPicker
- Optimized internal import aliases
- Added
embla-carousel
as a devDependency - Fixed types for
useDialogCarousel
hook - General cleanup
- Created a
util
folder containing all the utility files - Allowed hiding a column by default in
DataTable
usingmeta: { hidden: true }
- Updated dependencies
- Fixed
DropDownMenu
items array props - Minor fixes & cleanup
- Updated
Textarea
classNames - Fixed all className uses of
Textarea
in other components - Fixed
Radio
label color in dark mode - Fixed
helperText
inSignature
- Added
--constant-background
global variable - Made
Signature
background color constant regardless of color mode - Added
helperText
toSignature
for validation - Added
Label
toSignature
- Added
texts
object prop toSignature
to enable consumer based texts - Added
Signature
component for users to draw their signature. - Updated packages
- Updated
Carousel
props - General cleanup
PinInput
: now shows numeric keyboard on phone- Exported
Glow
to be built viatsup
- Replaced
tsup.config.ts
withtsup.config.js
- Added
Glow
component that can be used to apply glow effect on it's children Label
: fixed clicking on the hint submits a formLabel
: fixed clicking tab to go to the next field in a form accidentally focuses on the hint icon- Fixed
CommandInput
direction - Fixed margins of check mark of
CommandItem
inCombobox
Combobox
: fixed text color from primary to pure white/blackCombobox
: addedRTL
support- Fixed icon spacing in
CommandInput
Radio
: fixed full width whenbordered
designRadio
: disabled selecting text when design isbordered
Checkbox
: fixed line height oflabel
- General cleanup
- Replaced all references of
onChangeTab
toonChange
- Added
name
prop toRadio
component - Change
onChangeTab
toonChange
- Added handling change to all types of
Radio
- Fixed missing translation of soon
Chip
inPricingCard
AppTabs
: fixed horizontal align of icon and label in a single tabAppTabs
: fixed inactive tab hover colorItemCard
: fixed spaceing when height is largerItemCard
: fixed UI when in RTL direction- Fixed background color of
AppTabs
- Codesplitting
Layout
components each component in it's own folder - Updated the build process for
Layout
components to be grouped 3 at a time during build - Updated story imports
- Added click handling to
AppTabs
- Changed
content
type toReact.ReactNode
- Tested nesting an
Accordion
inside anAccordion
content field. - Added
sm
anddefault
sizes toToaster
- Updated the way
Toast
,ToastTitle
,ToastDescription
, andToastClose
are styled and moved the conditional styling toToaster
- Organized tsup configuration
- Added
clickable
prop toStats
- Added
type='button'
toCombobox
to fix submit behavior while in form - Updated dependencies
hawa@0.24.0
- Improved imports in all stories
- Removed unused story docs
Elements
bundling code is now more readable- Optimized imports within
Navbar
,Sidebar
,Stats
,AppLayout
,LandingCard
,PricingCard
,DestroyableCard
, andAppTopbar
- Code splitting the following components:
Carousel
,CodeBlock
,Collapsible
,ColorPicker
,DestroyableCard
,FileUploader
,InterfaceSettings
,Pagination
,PasswordInput
,ProgressCircle
,ScrollIndicator
,Separator
,SimpleTable
,Slider
,Toast
,Toaster
- Fixed clearing
dist
folder on each build - Included
blocks
andlayout
to the build process - Removed
--dts
flag frombuild-lib
script - Attempting to fix out-of-memory build issue
- Code splitting
ScrollArea
- General cleanup
- Code splitting
PinInput
,PhoneInput
, andStopPropagationWrapper
- Moved
Chip
to it's own folder - Moved
Breadcrumb
to it's own folder - Moved
AppStores
to it's own folder - Moved
Badge
to it's own folder - Improved size of
NoPermission
andResetPassword
blocks - Moved
Checkbox
to it's own folder - Moved
Switch
to it's own folder - Moved
Popover
to it's own folder - Improved the imports within
Comobobox
- Updated
tsup.config.ts
- Splitting the bundling process by
tsup
to prevent no-memory breaking error - Moved
Input
to it's own exported folder - Moved
Tabs
to it's own folder - Updated
tsup
configuration - Moved
Combobox
to it's own folder - Updated
hawa-beta.yml
github action file - moved
Alert
to it's own folder - moved
FileDropzone
to it's own folder - moved
Table
to it's own folder - moved
DataTable
to it's own folder - moved
Label
to it's own folder - moved
BackToTop
to it's own folder - moved
Avatar
to it's own folder - moved
Textarea
to it's own folder - Updated packages
- Exporting
Radio
individually
hawa@0.21.2
- Added
chip
prop toAccordion
item #SIKKA-5849 - Updated imports to use aliases
- General cleanup
- Added
prettier-plugin-tailwindcss
- Added
@trivago/prettier-plugin-sort-imports
- Cleaned up
- Added
actionFirst
prop toNavigationMenu
for router usage in next.js apps ContactForm
now resets on submision- Updated dependencies
- Fixed the way IBM Plex Sans Arabic is applied
- Removing IBM font references
- Added
formId
toContactForm
- Added
formAutoComplete
toContactForm
- Added
disabled
toAccordionTrigger
- Exported
AccordionItemProps
type - Exposed
triggerClassNames
inNavigationMenu
- Updated storybook
- Fixed default design of
Accordion
hawa@0.20.2
- Added
Seperated
variant toAccordion
hawa@0.20.1
- Fixed close button in
Sheet
- Added
ContactForm
- Fixed
Textarea
placeholder text color - Removed all shadows of
FeedbackForm
andContactForm
whencardless
prop is true - exporting
TextInputType
- General cleanup
- Minor cleanup
- Added sizes to
Radio
tabs - Added background to
Radio
- Fixed responsiveness of
PricingPlans
- Added priceless option to
PricingCard
- ComparingPlans: added background to scroll area
hawa@0.19.0
- Added
DropdownMenuRadio
component - Added popover
helperText
forInput
- Minor fixes
hawa@0.17.0
- Added
onAlertClosed
prop toAlert
6022a5c - Finished
PricingCard
- Added
Pagination
- Minor UI Fixes