question about zIndex @twilio-paste/design-tokens/dist/tokens.es6.js #1640
-
Hello, I am completely new in this area. Our project is happy to use yours for our purpose. During migration from 6.0.1 to 10.0.0 version I explored one the files that is used in our project - @twilio-paste/design-tokens/dist/tokens.es6.js and I have two questions regarding it.
was changed to So, my question again - was it done on purpose or it's something unexpected? I care particularly about this file because currently it is patched in our project. So, it order to have well-read easy-to-modify-or-remove patch, we need well-structured original file code. In this case we can easily find which line to compare. Otherwise patch looks like removing all the file code that is one line and adding another long line that is your file with a minor zIndex modifications. Thank you very much for attention! Best wishes, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi Alena, Thanks for starting a Discussion! The answer to question 1 is that the minification was intentional. Regardless of the structure of the file, we maintain the API, so that structure hasn't changed. We don't generally recommend patching the design tokens file in projects -- we recommend importing it and merging it with your work. It would help to have a little more context on what you're trying to achieve here so that we can give some better guidance. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi Alena,
Thanks for starting a Discussion! The answer to question 1 is that the minification was intentional. Regardless of the structure of the file, we maintain the API, so that structure hasn't changed.
We don't generally recommend patching the design tokens file in projects -- we recommend importing it and merging it with your work.
It would help to have a little more context on what you're trying to achieve here so that we can give some better guidance.
Thanks!