Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add datepicker docs #2184

Merged
merged 16 commits into from
May 23, 2024
Merged

docs: add datepicker docs #2184

merged 16 commits into from
May 23, 2024

Conversation

anuraghazra
Copy link
Member

Description

Changes

Additional Information

Component Checklist

  • Update Component Status Page
  • Perform Manual Testing in Other Browsers
  • Add KitchenSink Story
  • Add Interaction Tests (if applicable)
  • Add changeset

Copy link

changeset-bot bot commented May 17, 2024

⚠️ No Changeset found

Latest commit: 67981d1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented May 17, 2024

✅ PR title follows Conventional Commits specification.

Copy link

codesandbox-ci bot commented May 22, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@rzpcibot
Copy link
Collaborator

rzpcibot commented May 22, 2024

Bundle Size Report

Updated Components
Status Component Base Size (kb) Current Size (kb) Diff
Accordion, AccordionItemHeader, AccordionItemBody, AccordionItem 4.669 7.304 +2.635 KB
ActionList, ActionListItem, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemText, ActionListSection 10.084 12.621 +2.537 KB
Alert 8.542 11.556 +3.014 KB
Amount -1.559 1.121 +2.680 KB
Avatar, AvatarGroup 0.769 0.000 -0.769 KB
Badge -1.867 0.817 +2.684 KB
BladeProvider -1.024 1.642 +2.666 KB
BottomSheet 6.724 9.388 +2.664 KB
Box -1.902 0.790 +2.692 KB
Breadcrumb, BreadcrumbItem -0.130 2.516 +2.646 KB
ButtonGroup -1.557 1.144 +2.701 KB
Card, CardBody, CardHeader, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderTrailing, CardFooter, CardFooterLeading, CardFooterTrailing 6.461 9.126 +2.665 KB
Carousel, CarouselItem 4.191 6.843 +2.652 KB
Checkbox 3.299 6.015 +2.716 KB
Chip, ChipGroup 4.925 5.339 +0.414 KB
Collapsible, CollapsibleLink, CollapsibleButton, CollapsibleBody 6.819 9.442 +2.623 KB
Counter -1.900 0.790 +2.690 KB
Divider -2.150 0.546 +2.696 KB
Drawer, DrawerBody, DrawerHeader 13.468 16.565 +3.097 KB
Dropdown, DropdownOverlay, DropdownButton, DropdownLink, DropdownFooter, DropdownHeader 25.130 23.137 -1.993 KB
FileUpload 11.867 14.576 +2.709 KB
Indicator -1.630 0.948 +2.578 KB
List, ListItem, ListItemLink, ListItemCode, ListItemText 2.369 5.027 +2.658 KB
Modal 10.103 13.179 +3.076 KB
Popover, PopoverInteractiveWrapper 17.788 21.075 +3.287 KB
ProgressBar 0.447 3.033 +2.586 KB
Radio 2.097 4.751 +2.654 KB
Skeleton -1.929 0.764 +2.693 KB
SpotlightPopoverTour, SpotlightPopoverTourFooter, SpotlightPopoverTourStep 25.935 29.291 +3.356 KB
StepGroup, StepItem, StepItemIcon, StepItemIndicator 4.035 6.574 +2.539 KB
Switch 1.844 4.512 +2.668 KB
Table, TableHeader, TableHeaderCell, TableHeaderRow, TableBody, TableCell, TableRow, TableFooter, TableFooterCell, TableFooterRow, TablePagination, TableToolbar, TableToolbarActions 54.658 52.465 -2.193 KB
Tabs, TabItem, TabList, TabPanel 3.952 7.034 +3.082 KB
Tag 0.788 3.456 +2.668 KB
ToastContainer, useToast 9.766 12.749 +2.983 KB
Tooltip, TooltipInteractiveWrapper 12.749 16.085 +3.336 KB
Button 3.275 5.909 +2.634 KB
IconButton -1.915 0.803 +2.718 KB
CheckboxGroup 1.507 4.126 +2.619 KB
SelectInput, AutoComplete 16.403 19.082 +2.679 KB
OTPInput 10.469 13.169 +2.700 KB
PasswordInput 12.120 15.082 +2.962 KB
PhoneNumberInput 51.212 49.221 -1.991 KB
SearchInput 14.694 0.000 -14.694 KB
TextArea 13.018 15.675 +2.657 KB
TextInput 14.614 17.263 +2.649 KB
Link -0.575 2.104 +2.679 KB
RadioGroup 1.475 4.094 +2.619 KB
Spinner -0.842 1.912 +2.754 KB
Code -2.079 0.612 +2.691 KB
Display -2.188 0.508 +2.696 KB
Heading, getHeadingProps -2.240 0.456 +2.696 KB
Text -2.676 0.003 +2.679 KB

Generated by 🚫 dangerJS against 67981d1

@anuraghazra anuraghazra merged commit a04e75e into anu/datepicker May 23, 2024
16 of 17 checks passed
@anuraghazra anuraghazra deleted the anu/datepicker-docs branch May 23, 2024 10:08
anuraghazra added a commit that referenced this pull request May 27, 2024
* feat: added initial datepicker

* chore: minor changes

* fix: spacing of cells

* chore: fix header layout

* chore: add footer ui

* feat: range calendar picker state management & visual level changes

* feat: implement bottomsheet & add mobile styling

* feat: add chip group

* feat: add cell gradients

* refactor: factor out gradient styles

* fix: css styling

* chore: fix header sizes, spacing, button icon size & gradients

* feat: add action list item on quick selection panel

* feat: add input level props

* fix: dateinput reference ref, and add onMonth/YearSelect

* chore: fix center icon align

* fix: props spreading bug

* feat: add disabled dates

* chore: review comments

* feat: add selected state for month/year cell

* chore: simplify gradient logic

* chore: fix footer

* fix: year picker layout

* chore: refactor types

* chore: add comments on gradient logic

* chore: review comments

* chore: fix condition

* chore: add focus ring in cells

* chore: add datepicker hidden inputs

* chore: review comments

* chore: remove uneeded event handlers

* chore: add dayjs to i18n locale map

* chore: set global locale

* test(blade): add datepicker tests (#2186)

* test: add single datepicker tests

* test: add date range tests

* chore: minor changes

* feat: add more tests

* chore: update web snaps

* chore: update rn snaps

* chore: update

* docs: add datepicker docs (#2184)

* chore: added storybook docs

* chore: add docs for min,max,exclude date

* chore: add storybook controls

* chore: add locale example

* chore: minor

* feat: add dynamic locale loading

* chore: fix race condition

* chore: add locale tests

* chore: update snaps

* chore: display added component data (#2191)

* chore: add meta attrs

* Create short-games-wink.md

* chore: update story

* chore: trigger build

---------

Co-authored-by: Nitin Kumar <snitin315@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants