refactor(component): move date-picker to ui, add story, support responsive (#5468)

- move to `component/ui`
- add `AFFiNEDatePicker` & `BlocksuiteDatePicker` story
- inline mode support
- responsive support
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://github.com/toeverything/AFFiNE/assets/39363750/320bef49-380f-40a2-b3b2-4b74dd2d8da4">
    <img  alt="" src="https://github.com/toeverything/AFFiNE/assets/39363750/fc9e7808-02fe-49a1-aa78-aea254fb1f9d">
  </picture>
This commit is contained in:
Cats Juice
2024-01-17 09:16:46 +00:00
parent 8f80bdb7af
commit 2db3c933fa
14 changed files with 454 additions and 278 deletions

View File

@@ -1,4 +1,3 @@
@import 'react-datepicker/dist/react-datepicker.css';
@import './fonts.css';
* {