Drew Powers

Results 462 comments of Drew Powers

The problem is in the [DefinitelyTyped package](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-slider/index.d.ts), not this repo. If possible, you can try and declare a generic for `ReactSliderProps`, e.g. ```tsx import { ReactSliderProps } from 'react-slider'; const...

### [Cobalt CLI](https://cobalt-ui.pages.dev) Cobalt is [an open-source, MIT-licensed](https://github.com/drwpow/cobalt-ui) frontend toolchain that: - can validate any DTCG tokens schema and give detailed errors - has existing integrations for [JavaScript](https://cobalt-ui.pages.dev/integrations/js), [TypeScript](https://cobalt-ui.pages.dev/integrations/js), [CSS](https://cobalt-ui.pages.dev/integrations/css)/[Sass](https://cobalt-ui.pages.dev/integrations/sass),...

After chewing on the question “should any value accept an array” I originally wanted the answer to be “yes” but now I’m not convinced it’s possible. In some tokens, order...

I can see several benefits of adding `string` and `boolean` types to the spec, and I’d also like to see this added! This is related to https://github.com/design-tokens/community-group/issues/134 and “create-your-own-type” which...

> ```json > { > "left-align-token": { > "$value": { > "web": "start", > "ios": "left", > "android": "left", > "foo": "bar", > "lorem": "ipsum" > } > } >...

Sorry for pinging an old thread, but I’ve just put up a proposal where’d I’d suggest we NOT make this change: #244. The reasons are outlined there, but TL;DR, after...

Update: problem also exists in Node 22 (current version)

😄 Fitting that this is [201](https://http.cat/status/201)

Had a bit of a breakthrough this week in what’s probably the most exciting development since this library started: **token linting**. As a PoC I’ve shipped an [a11y plugin](https://cobalt-ui.pages.dev/integrations/a11y) that...

Yes @dzonatan that’s exactly what I’m talking about! Duplicate values could be done today. Duplicate keys (IDs) would have to wait for 2.0 as that requires AST awareness (parser rebuild)....