Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Conversation

@TrySound
Copy link
Contributor

Description

  • esm support
  • out of the box typescript support
  • probably faster

@TrySound
Copy link
Contributor Author

The size is slightly bigger because material ui still uses classnames but I'm working on it.

@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@b911357). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #855   +/-   ##
==========================================
  Coverage           ?   92.75%           
==========================================
  Files              ?       47           
  Lines              ?     1338           
  Branches           ?      171           
==========================================
  Hits               ?     1241           
  Misses             ?       70           
  Partials           ?       27
Impacted Files Coverage Δ
lib/src/TimePicker/components/ClockNumber.tsx 91.66% <100%> (ø)
...DateTimePicker/components/DateTimePickerHeader.tsx 93.1% <100%> (ø)
lib/src/DatePicker/components/SlideTransition.tsx 100% <100%> (ø)
lib/src/TimePicker/TimePicker.tsx 81.35% <100%> (ø)
lib/src/DatePicker/components/Year.tsx 95.23% <100%> (ø)
lib/src/_shared/PickerToolbar.tsx 94.44% <100%> (ø)
lib/src/TimePicker/components/ClockPointer.tsx 96.55% <100%> (ø)
lib/src/DatePicker/components/Day.tsx 100% <100%> (ø)
lib/src/_shared/ModalDialog.tsx 100% <100%> (ø)
lib/src/_shared/ToolbarButton.tsx 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b911357...189bb1a. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@b911357). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #855   +/-   ##
==========================================
  Coverage           ?   92.75%           
==========================================
  Files              ?       47           
  Lines              ?     1338           
  Branches           ?      171           
==========================================
  Hits               ?     1241           
  Misses             ?       70           
  Partials           ?       27
Impacted Files Coverage Δ
lib/src/TimePicker/components/ClockNumber.tsx 91.66% <100%> (ø)
...DateTimePicker/components/DateTimePickerHeader.tsx 93.1% <100%> (ø)
lib/src/DatePicker/components/SlideTransition.tsx 100% <100%> (ø)
lib/src/TimePicker/TimePicker.tsx 81.35% <100%> (ø)
lib/src/DatePicker/components/Year.tsx 95.23% <100%> (ø)
lib/src/_shared/PickerToolbar.tsx 94.44% <100%> (ø)
lib/src/TimePicker/components/ClockPointer.tsx 96.55% <100%> (ø)
lib/src/DatePicker/components/Day.tsx 100% <100%> (ø)
lib/src/_shared/ModalDialog.tsx 100% <100%> (ø)
lib/src/_shared/ToolbarButton.tsx 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b911357...189bb1a. Read the comment docs.

@dmtrKovalenko dmtrKovalenko merged commit 25571bf into develop Jan 12, 2019
@TrySound TrySound deleted the clsx branch January 12, 2019 07:58
@dmtrKovalenko dmtrKovalenko mentioned this pull request Jan 24, 2019
dmtrKovalenko added a commit that referenced this pull request Jan 24, 2019
* Rename ExtendWrapper.d.ts to ExtendWrapper.ts to make it generate defenition file

* Release 2.1.1

* [docs] Make code highlighting use dark theme in dark mode (#852)

* Fix improper dispaying of highlighted code, use current theme for highlighting

* Remove unused markup highlight syntax

* [DateTimePicker] Add more consistent padding for 24h mode (#851)

* Migrate from classnames to nicer clsx (#855)

* Migrate from classnames to nicer clsx

* Update size snapshot

* Remove keycode in favour of event.key (#859)

* Remove keycode in favour of event.key

Ref https://twitter.com/olivtassinari/status/1084819202412818432

We can already see size improvement (which will be visible for end user
only after material-ui upgrade) in 1.5kB.

* Fix test

* Fix direction of leaving item (#873)

Fix incorrect leaving direction of Calendar animation

* Add yarn example to README.md

* Update packages (#878)

* [#865] Properly type inputProps (#879)

* [#865] Properly type inputProps

* Add usage of InputLabelProps for checking typing of extended props

* Add `KeyboardButtonProps` for spreading props onto Keyboard IconButton (#880)

* add `KeyboardButtonProps` for Keyboard Icon Button (#842)

* Add Unit test

* Release 2.1.2
@FranBran
Copy link

FranBran commented Feb 7, 2019

TypeError: __WEBPACK_IMPORTED_MODULE_13_clsx___default(...) is not a function

seems like my setup can't handle *.mjs files properly?

@TrySound
Copy link
Contributor Author

TrySound commented Feb 7, 2019

@FranBran Do you use typescript?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants