π¦ Change log
All notable changes to this project will be documented in this file.
[0.7.8] - 2025-09-29β
π Addedβ
- DateSelector: Added new
onHijriChangeprop to handle Hijri date changes. - Dependencies: Added
copy-to-clipboardandyuppackages.
π§© Changedβ
- Dependencies: Updated package dependencies and replaced references to the deprecated
tawuniya-librarypackage withtawuniya. - Components: Refactored imports across components to use the new
tawuniyapackage. - Styles: Updated the styles import in
index.tsxto use the new package structure. - Root: Updated the component to use TypeScript for props definition.
- DateSelector: Improved date formatting behavior.
- Tests: Refactored
CardButtonandPolicyCardtests for improved clarity and consistency.
[0.7.7] - 2025-09-24β
π Addedβ
- Icons: Added new logos to the library.
- Checkbox: Added wrapper classes to provide additional styling control.
- RadioButton: Added wrapper classes to provide additional styling control.
[0.7.4] - 2025-09-17β
π§° Fixedβ
- CardButton: Fixed button animation effects for smoother and more consistent interactions.
[0.7.2] - 2025-09-15β
π Addedβ
- Landing Page: Added new components designed to support landing page development.
[0.7.0] - 2025-09-08β
π§© Changedβ
- Library: Migrated the package from the private Nexus registry to the npm registry.
- Performance: Introduced major performance optimizations to reduce bundle size and improve application performance.
- Build: Improved tree shaking to ensure only used components and utilities are included in consuming applications.
[0.5.55] - 2025-08-13β
π§© Changedβ
- Accessiblitiy: Merge Accessiblitiy Provider with the Main Provider.
π§° Fixedβ
- Preflight: Fix some preflight style issues.
[0.5.4] - 2025-08-11β
π Addedβ
- Card-Button: Add Card Button components for Landing UI.
- Icon-Text: Add Icon Text components for Landing UI.
- Accessibility: Add Accessibility provider for accesibility controlling and managing.
[0.5.3] - 2025-07-26β
π§° Fixedβ
- Preflight: Stop preflight so consumer css won't be affected by library css.
[0.5.2] - 2025-07-26β
π§° Fixedβ
- Date Picker: Fix arabic output and force it to english.
- Date Selector: Fix arabic output and force it to english.
[0.5.1] - 2025-06-23β
π Addedβ
- Loader: Added new
iconprop to allow rendering a custom icon.
π§© Changedβ
- Icons: Updated the
tawuniyaicon with the latest design.
[0.5.0] - 2025-06-04β
π Addedβ
- Icons: Added 21 new icons to the library.
π§© Changedβ
- HeaderPaper: Updated the
iconprop to be optional.
π§° Fixedβ
- Pagination: Resolved styling issues.
- DataOverview: Resolved styling issues.
[0.4.9] - 2026-05-18β
π Addedβ
- Added new chart components:
- BarChart
- LineChart
- PieChart
- AreaChart
π§© Changedβ
- Upgraded Tailwind CSS from v3 to v4.
π§° Fixedβ
- Fixed border styling issues in the following components:
- AlertDialog
- Command
- Dialog
- DropdownMenu
- Sheet
- Tooltip
- Alert
- FileUpload: Fixed error state styling.
[0.4.6] - 2026-02-26β
π Addedβ
- Tabs: Added new feature to keep the tabs mounted by default unless unmount is needed.
[0.4.4] - 2026-01-26β
π§© Changedβ
- Theme: Unified all component colors to align with the standardized design system.
π§° Fixedβ
- DeclarationOfExposure: Fixed the title styling and alignment.
- Calendar: Corrected arrow direction and behavior in Arabic (RTL) mode.
[0.4.3] - 2026-01-19β
π Addedβ
- DataTable: Added pagination class support to allow custom control over table pagination styling.
- OTP: Added new
viewTypeprop to control display modes (normal,modal).
π§© Changedβ
- ExpandableSection: Updated title size for improved visual hierarchy.
π§° Fixedβ
- DateSelector: Fixed automatic day selection issue.
- DateSelector: Corrected select width and scrolling behavior.
[0.4.0] - 2025-12-31β
π§© Changedβ
- DateSelector: Updated initial display behavior to show the first available date when
minormaxis provided.
π§° Fixedβ
- Storybook: Fixed missing title (label) for the Select component.
- Storybook: Corrected component naming where components were displayed as βTemplateβ instead of their actual names.
- DateSelector: Fixed incorrect error color styling.
- Select: Removed the sidebar from the Select component to improve layout and UX.
[0.3.8] - 2025-12-24β
π Addedβ
- Icons: Added new
motor-insuranceandmotor-car-accidenticons.
π§© Changedβ
- DateSelector: Updated the
valueprop to accept bothDateandstringtypes. - RadioButton: Updated the radio button circle background styling.
π§° Fixedβ
- DateSelector: Fixed component height inconsistencies.
- DateSelector: Reset input values when switching between Hijri and Gregorian modes.
- ExpandableSection: Set the toggle button
typetobuttonto prevent unintended form submissions.
[0.3.7] - 2025-12-11β
π Addedβ
- DataOverview: Introduced as a new component.
- DeclarationOfExposure: Added as a new component.
- HeaderPaper: Added as a new component.
- Accordion: Added as a new component.
- ExpandableSection: Added as a new component.
- RadioButton: Added new props
selectedClassNameandradioCircleClassName. - Dev Docs: Added new βSales Loginβ form to documentation.
π§© Changedβ
- DateSelector: Reduced the height of the select elements for a more compact and cleaner UI.
- RadioButton: Improved the radio circle with
shrink-0to prevent resizing next to large content. - RadioButton: Enhanced the label with truncation to avoid text overflow.
- Dev Docs: Replaced Zod with Yup across all forms.
[0.3.1] - 2025-12-03β
π Addedβ
- Select: Added reset functionality to clear the selected value.
- Skeleton: Now skeleton component is exportable.
- Skeleton: Added Docs in both dev-docs and storybook.
π§© Changedβ
- Dev Docs: Refactored icons and improved documentation introduction.
- Icons: Removed duplicated icons.
- Icons: Removed the same icons that has different colors.
- Icons: Introduced new way of changing icon color with className.
π§° Fixedβ
- DatePicker: Added
wrapperClassNameprop for custom styling. - Sidebar: Fixed custom breakpoint behavior on mobile devices.
- Table: Fix table alignment in RTL.
[0.2.9] - 2025-11-20β
π Addedβ
- Button: Added new
loadingstate to handle pending actions and improve UX. - Button: Added new
outline_mutedvariant with a light gray appearance.
π§© Changedβ
- useFileUpload: Replaced
cryptowithuuidfor generating unique IDs. - Button: Updated the
outlinevariant color to use the primary palette.
[0.2.8] - 2025-11-17β
π Addedβ
- FileUpload: Auto-submitting is now enabled by default.
- FileUpload: Added new
disableAutoSubmittingprop to allow controlling automatic submission behavior. - FileUpload: Enabled automatic focus when the component is interacted with.
π§° Fixedβ
- FileUpload: Resolved a production issue affecting file upload behavior.
[0.2.7] - 2025-11-13β
π Addedβ
- DateSelector: Added new props
hideToggleanddisabledfor improved mode control and accessibility. - FileUploader: Introduced new props
acceptanddisabledfor file type restriction and component control. - DataTable: Added new
onRowClickprop β triggers when a table row is clicked. - Button: Added new
wrapperClassNameprop for applying custom classes to the wrapper element.
[0.2.6] - 2025-11-04β
π Addedβ
- DatePicker: Added new props
min,max, andformatfor enhanced date control and customization. - DateSelector: Added new props
minandmaxto define selectable date ranges.
π§° Fixedβ
- DataTable: Fixed issue with the
onSelectedRowsChangeprop not triggering correctly.
[0.2.5] - 2025-11-02β
π Addedβ
- DataTable: Added new props
onSelectedRowsChangeandresetSelectionfor enhanced row management control. - Select: Introduced new props
getOptionsLabelandgetOptionsValueto customize option rendering and value mapping.
π§° Fixedβ
- Input: Corrected value color when the input field is disabled.
[0.2.4] - 2025-10-22β
π Addedβ
- DatePicker: Replace arrow down icon with calendar icon and add new icon prop
- Carousel: Add unit test
π§° Fixedβ
- Carousel: Made slides clickable and resolved RTL direction issues.
- Fixed incorrect info color styling.
[0.2.2] - 2025-10-15β
π Addedβ
- Select: Introduced new prop
modalβ The modality of the popover. When set tofalse, users can interact with elements outside the popover, and the popover content does not restrict focus or visibility.
π§° Fixedβ
- Input, Select, DateSelector, DatePicker, Textarea, FileUpload, and CheckboxButton: Fixed various styling errors and visual inconsistencies.
[0.2.1] - 2025-10-09β
π Addedβ
- ImageSlider: Introduced new image slider component for showcasing image carousels.
- Typography: Added new size variant
XXXL(30px). - Icons: Added new
edit-usericon. - Documentation: Added Storybook links for all development documentation components.
π§© Changedβ
- Switch: Now supports
refforwarding for better form integrations. - Switch: Updated
valueprop type for improved type safety.
π§° Fixedβ
- DatePicker & Select: Removed unwanted black border from both components.
- Typography: Adjusted responsive font sizing behavior on window resize.
- Icons: Fixed incorrect color rendering for Lucide icons.
[0.1.9] - 2025-10-07β
π Addedβ
- Sidebar: Introduced
classNameprop for extended styling control. - Sidebar: Implemented privileges feature to handle access-based visibility.
π§° Fixedβ
- Sidebar: Removed
position: fixedand resolved related layout and styling issues. - DatePicker & DateSelector: Fixed component styling inconsistencies.
- Input: Corrected the direction of the Show Password icon in Arabic layout.
[0.1.8] - 2025-10-06β
π Addedβ
- Input: Added show/hide password functionality.
- Input: Introduced
labelSizeprop for flexible label styling. - OTP: Added
hideIconprop to toggle icon visibility. - Typography: Added
htmlForprop for better label associations. - Button : Introduced new size variant
XL.
π§° Fixedβ
- Input : Fixed input label positioning when focused.
- OTP : Fixed submit button layout (now full width).
- OTP : Corrected title and description alignment in Absher mode.
[0.1.7] - 2025-10-05β
π Addedβ
- Added
MainProviderfor global state management (sidebar ...etc). - Included SVG icon auto-import support using
import.meta.glob. - Add icons galary.
π§© Changedβ
- Refined default Tailwind for scoped prefight.
[0.1.5] - 2025-09-25β
π Addedβ
- Added docusaurus for full developer documentation.
- Form handling through react hooks form.
π§© Changedβ
- Refined default Tailwind theme integration.
[0.1.0] - 2025-09-02β
π Initial Releaseβ
- Released core ui components.
- Configured Storybook documentation.
- Established testing with Vitest.
- Added full TypeScript support.