Tom Adler

Results 30 comments of Tom Adler

This bug still occurs to me using the [email protected]. The best workaround is still to create a file `.storybook/package.json` containing only `{}`.

Would it make sense to link to this issue from the readme? Around the top maybe. This might inspire more people to contribute.

The first example should also output `color: red`

In general terms: while making styles inline `inline-css` should calculate selector specificity according to CSS specification, as browsers do. Currently it errs when two rules contain `!important` and match the...

If they are equal in specificity, then the last rule indeed wins.

Hi Jonathan, I expected something like that. Luckily it happened only once to me so far, so I'm not yet inclined to get to code myself, sorry. Is it maybe...

Thank you @p-foucht! Yeah, I was thinking something like this could be the case, but it wasn’t mentioned in the react library docs, so I reported it anyways. It’s very...

The issue title and description talk about `Intl.Collator`, and I feel that the discussion focuses a lot on whether `Intl.Collator` is an appropriate place for such APIs. I understand that...

After a deeper look, I see that the [types of jest-dom extend jest.Matchers](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/testing-library__jest-dom/index.d.ts) Meanwhile, the [types of `@jest/globals` simply re-export the type of the `expect` package](https://github.com/facebook/jest/blob/main/packages/jest-globals/src/index.ts#L14) I’d naively expect that...

Looks like [Jest@28 should enable that](https://jestjs.io/blog/2022/04/25/jest-28#expect)