Skip to content

Conversation

@sopranopillow
Copy link
Contributor

Previous Behavior

There were types that are duplicated due to our slots pattern.
useAnimateBackwards uses useRefEffect.
Utils tests are disabled.
There are Calendar exports that should be internal and not exported.

New Behavior

Removed duplicated types and unused types.
useAnimateBackwards uses regular useRef and now lives in its specific component file.
Utils tests are now enabled.
Removed some of the Calendar exports that are not needed.
Removed mdl2 implementation with icons.

Related Issue(s)

@sopranopillow sopranopillow self-assigned this Mar 22, 2023
@sopranopillow sopranopillow requested review from a team and khmakoto as code owners March 22, 2023 23:01
@sopranopillow sopranopillow changed the title chore(react-datepicker-compat): Cleanu types, unused code, and restore utils tests chore(react-datepicker-compat): Cleanup types, unused code, and restore utils tests Mar 22, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Mar 22, 2023

📊 Bundle size report

🤖 This report was generated against ffb73565db8eb8ad0a5e2bdb383306519ade8116

@size-auditor
Copy link

size-auditor bot commented Mar 22, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: ffb73565db8eb8ad0a5e2bdb383306519ade8116 (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 22, 2023

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.

Latest deployment of this branch, based on commit 23a9790:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@sopranopillow sopranopillow merged commit 34dec1d into microsoft:master Mar 23, 2023
@sopranopillow sopranopillow deleted the react-datepicker-compat/cleanup branch March 23, 2023 20:58
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 27, 2023
* master: (47 commits)
  fix: Fix vertical alignment of inline Checkbox when checked vs. unchecked (microsoft#27324)
  applying package updates
  Fix: Revert microsoft#26931 change due to new bug it introduced (microsoft#27323)
  chore(react-infobutton): Renaming content slot to info (microsoft#27316)
  applying package updates
  Fix bad release mismatch of react-select (microsoft#27321)
  applying package updates
  Fix react-combobox mismatch after bad release (microsoft#27319)
  docs: add section about media query sorting (microsoft#27307)
  applying package updates
  fix: sync packages and changefiles after bad release (microsoft#27317)
  applying package updates
  chore(react-datepicker-compat): Cleanup types, unused code, and restore utils tests (microsoft#27297)
  [Fluent 2 Theme] Fixing link color in dark theme (microsoft#27203)
  Tree documentation and stories (microsoft#27270)
  feat: Render theme CSS variables in SSR style element (microsoft#27277)
  chore (scripts): update create-package plop templates to use swc/helpers in deps (microsoft#27286)
  fix(DialogContent): adds padding to allow focus visibility (microsoft#27248)
  Adding Card component style hooks to shared context (microsoft#27295)
  Virtualizer: Static scroll hooks and embedded scrollview (microsoft#26985)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePicker: Cleanup unused types in all components

4 participants