Comments (12)
I'm working to release a fix. I'll close this issue when I get it out.
from leonardo.
extensions being changed to .mjs
was done in #166 (between 1.0.0-alpha.13
and 1.0.0-alpha.14
), and extensions were reverted back among the changes from #207, but version 1.0.0-alpha.18
has not been published to npm, and either way those changes aren't in the changelog for 1.0.0-alpha.18
.
once a new working version is published to the registry i'd probably recommend deprecating1 versions 1.0.0-alpha.14
to 1.0.0-alpha.17
because those are all broken.
Footnotes
from leonardo.
I think I found the problem. The files are getting named with the .mjs
extension instead of .js
, which is messing everything up, and the dist
director seemed to go missing around alpha.15. I'll look to see if I can republish it with the correct extension. https://unpkg.com/browse/@adobe/[email protected]/
from leonardo.
As a temporary fix, you can use this command to install it via NPM. It works fine in TS now with this command.
npm install "https://gitpkg.now.sh/adobe/leonardo/packages/contrast-colors?main"
This just create an NPM package from the main branch in the correct subfolder (Using the site https://gitpkg.vercel.app/)
from leonardo.
@NateBaldwinDesign did you add the package to your project? The first step in that documentation you mentioned says to install the package with npm i @adobe/leonardo-contrast-colors
. If you're using yarn the command is yarn add @adobe/leonardo-contrast-colors
. Verify that the package is listed in your dependencies in your package.json
file.
from leonardo.
Yes, I have it installed as documented. I am going to try a few other things to see if I can replicate the problem on a different computer to verify that it's not just some system issue.
I have confirmed that it is not working properly on a new project as well as previous projects that have worked in the past.
from leonardo.
Hi, any progress on this? For me, the latest version that works is @adobe/[email protected]
from leonardo.
Hello, any progress on this?
from leonardo.
Bump :) same issue workaround is good but this is not a good sign for this library I stumbled upon
from leonardo.
Any progress?
from leonardo.
Related Issues (20)
- Can't past. HOT 2
- LeonardoColor.io Website current unusable/scrollable . Win11 & MacOS Monterey confirmed. HOT 3
- Background color cannot be changed HOT 8
- Theme URL error/won't load HOT 7
- Export json color tokens with color family objects
- "colorSpace" key does not work when written in camel-case HOT 2
- WCAG 3 APCA Lc contrast calculations HOT 1
- Missing API docs for APCA formula HOT 1
- Hue shift when adjusting saturation
- High severity vulnerabilities for ciebase > mout when installing with npm HOT 1
- Match a value to the brand to the key color. HOT 2
- Adaptive color theme "Copy theme URL" function results in a broken link HOT 6
- Help accessing color contrast page HOT 3
- Scrollability Issue with Touchpad Two-Finger Gesture HOT 1
- Design Tokens W3 Community Format Update
- I cannot simply follow the guide and run the project HOT 4
- Cannot re run the project after the first time HOT 4
- leonardocolor.io website's JS API documentation's updateColor definition to be updated to reflect correct theme.js capabilities
- Scales - please let us import/export config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leonardo.