Closed jsartisan closed 3 hours ago
A new set of components has been introduced in the design system, including Calendar
, CalendarCell
, CalendarHeaderCell
, CalendarHeading
, DatePicker
, and TimeField
. These components are designed to enhance date and time selection functionalities within the application. Alongside these, CSS styles and Storybook stories have been added to support their usage and visualization. The TextInput
component has been renamed to TextField
, updating various references throughout the codebase.
File | Change Summary |
---|---|
app/client/packages/design-system/widgets/src/components/Calendar/src/Calendar.tsx |
Added Calendar component and associated props type. |
app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarCell.tsx |
Introduced CalendarCell component with props type. |
app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarHeaderCell.tsx |
Added CalendarHeaderCell component and props type. |
app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarHeading.tsx |
Introduced CalendarHeading component. |
app/client/packages/design-system/widgets/src/components/Calendar/src/index.ts |
Exported Calendar , CalendarCell , CalendarHeading , and CalendarHeaderCell . |
app/client/packages/design-system/widgets/src/components/Calendar/src/styles.module.css |
Added styles for the calendar component. |
app/client/packages/design-system/widgets/src/components/Calendar/stories/Calendar.stories.tsx |
Created Storybook stories for Calendar with various configurations. |
app/client/packages/design-system/widgets/src/components/Datepicker/src/Datepicker.tsx |
Introduced DatePicker component with comprehensive date selection features. |
app/client/packages/design-system/widgets/src/components/Datepicker/src/DatepickerTrigger.tsx |
Added DatepickerTrigger component for user interaction. |
app/client/packages/design-system/widgets/src/components/Datepicker/src/index.ts |
Exported DatePicker , types, and styles. |
app/client/packages/design-system/widgets/src/components/Datepicker/src/styles.module.css |
Added styles for the Datepicker component. |
app/client/packages/design-system/widgets/src/components/Datepicker/src/types.ts |
Defined types for DatePicker component. |
app/client/packages/design-system/widgets/src/components/Datepicker/stories/Datepicker.stories.tsx |
Created Storybook stories for DatePicker . |
app/client/packages/design-system/widgets/src/components/TextField/src/TextField.tsx |
Renamed TextInput to TextField and updated type references. |
app/client/packages/design-system/widgets/src/components/TextField/src/index.ts |
Exported TextField and its props type. |
app/client/packages/design-system/widgets/src/components/TextField/src/types.ts |
Renamed TextInputProps to TextFieldProps . |
app/client/packages/design-system/widgets/src/components/TextField/stories/TextField.stories.tsx |
Updated Storybook stories to reflect the TextField component. |
app/client/packages/design-system/widgets/src/index.ts |
Updated exports to include new components and rename TextInput to TextField . |
app/client/src/modules/ui-builder/ui/wds/WDSInputWidget/component/index.tsx |
Updated import from TextInput to TextField . |
app/client/src/modules/ui-builder/ui/wds/WDSCurrencyInputWidget/component/index.tsx |
Updated import from TextInput to TextField . |
app/client/src/modules/ui-builder/ui/wds/WDSPhoneInputWidget/component/index.tsx |
Updated import from TextInput to TextField . |
app/client/src/modules/ui-builder/ui/wds/WDSTableWidget/component/TableHeader/PageNumberInput.tsx |
Updated import from TextInput to TextField . |
app/client/src/modules/ui-builder/ui/wds/WDSTableWidget/component/TableHeader/Search.tsx |
Updated import from TextInput to TextField . |
app/client/packages/design-system/widgets/src/components/Popover/src/Popover.tsx |
Modified Popover to accept a className prop. |
app/client/packages/design-system/widgets/src/testing/ComplexForm.tsx |
Updated instances of TextInput to TextField . |
Calendar
component.Calendar
component.ok-to-test
π In the realm of code, new components arise,
A calendar, a datepicker, a time field that flies!
With styles and stories, they come into view,
RenamedTextField
, now fresh and anew!
So letβs celebrate this code, oh what a delight,
For in this design system, everything feels right! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Added daterpicker component along with other components needed for it like Calendar andTimeField
Datepicker
Calendar
Timefield
/ok-to-test tags="@tag.Anvil"
Summary by CodeRabbit
Release Notes
New Features
Calendar
component for date selection and display.DatePicker
component for selecting dates and times with enhanced error handling.TimeField
component for time input with optional prefix and suffix.TextField
component replacing the previousTextInput
for improved usability.Bug Fixes
Documentation
Calendar
,DatePicker
, andTimeField
components to showcase functionalities and configurations.Chores
TextField
component across various widgets.