@teleporthq/teleport-component-generator-reactnative
Advanced tools
Changelog
v0.16.0 (2021-02-04)
teleport-code-generator
, teleport-component-generator-angular
, teleport-component-generator-preact
, teleport-component-generator-react
, teleport-component-generator-reactnative
, teleport-component-generator-stencil
, teleport-component-generator-vue
, teleport-component-generator
, teleport-plugin-react-styled-components
, teleport-project-generator-angular
, teleport-project-generator-gatsby
, teleport-project-generator-gridsome
, teleport-project-generator-next
, teleport-project-generator-nuxt
, teleport-project-generator-preact
, teleport-project-generator-react
, teleport-project-generator-reactnative
, teleport-project-generator-stencil
, teleport-project-generator-vue
, teleport-project-generator
, teleport-project-plugin-gatsby-styled-components
, teleport-project-plugin-next-css-modules
, teleport-project-plugin-next-react-jss
, teleport-project-plugin-next-styled-components
, teleport-test
, teleport-types
, teleport-uidl-resolver
teleport-component-generator-react
, teleport-component-generator
, teleport-plugin-css-modules
, teleport-plugin-css
, teleport-plugin-react-jss
, teleport-plugin-react-styled-components
, teleport-project-generator-angular
, teleport-project-generator-gatsby
, teleport-project-generator-next
, teleport-project-generator-preact
, teleport-project-generator-react
, teleport-project-generator-vue
, teleport-project-generator
, teleport-test
, teleport-types
teleport-component-generator-react
, teleport-plugin-react-jss
teleport-component-generator-react
, teleport-component-generator-vue
, teleport-plugin-css-modules
, teleport-plugin-css
, teleport-uidl-validator
teleport-uidl-validator
teleport-plugin-css
teleport-project-generator-angular
, teleport-project-generator-gatsby
, teleport-project-generator-gridsome
, teleport-project-generator-next
, teleport-project-generator-nuxt
, teleport-project-generator-preact
, teleport-project-generator-react
, teleport-project-generator-reactnative
, teleport-project-generator-stencil
, teleport-project-generator-vue
, teleport-project-plugin-gatsby-styled-components
, teleport-project-plugin-next-css-modules
, teleport-project-plugin-next-react-jss
, teleport-project-plugin-next-styled-components
, teleport-test
, teleport-types
Changelog
v0.15.0 (2020-12-11)
#503 (feat): Define and use design tokens in root. And use them for styles, media queries and project style sheets.
Design tokens are here, you can deifne basic tokens which in returns converts into css-variablees
in the projects generated. All, we need to do is, define a simple designLanguage
field in the root
of the ProjectUIDL
.
And then start using the tokens in the UIDL using
{
...
"style":{
"flex":"1",
"color":{
"type":"dynamic",
"content":{
"referenceType":"token",
"id":"blue-500"
}
}
}
}
You can use these tokens in
Supports all style-flavours that we currently support.
For example, if we define a simple UIDLNode
with styles.
{
"type":"element",
"content":{
"elementType":"text",
"style":{
"width":"200px"
},
"children":[
{
"type":"static",
"content":"Hello World!"
}
]
}
}
The generators pass this through resolving
step and generates nodes. But when you use UIDLElement
it throws error. Since UIDLElement
expects the style to be UIDLStyleDefinitions
which in return says that the style should be
{
"width":{
"type":"static",
"content":"200px"
}
}
But, we don't actually need to define static nodes this way, samee thing applies to static children in UIDL. So, start using VComponentUIDL
from @teleporthq/teleport-types
https://repl.teleporthq.io/?uidlLink=lrvw58rmbqcxpr4dsrfrv
These VUIDL
helps in writing more compact and human redeable UIDL's. For more types that are exported, please check --> https://github.com/teleporthq/teleport-code-generators/blob/development/packages/teleport-types/src/vuidl.ts
(@JayaKrishnaNamburu)
teleport-project-generator
Changelog
v0.14.0 (2020-10-23)
teleport-plugin-common
teleport-uidl-resolver
Changelog
v0.13.3 (2020-09-16)
teleport-types
Changelog
v0.13.1 (2020-09-15)
teleport-plugin-react-styled-components
, teleport-plugin-react-styled-jsx
, teleport-test
Changelog
v0.13.0 (2020-09-09)
Changelog
v0.12.4 (2020-08-11)
teleport-plugin-css-modules
teleport-component-generator
, teleport-plugin-jsx-head-config
, teleport-plugin-reactnative-app-routing
, teleport-plugin-vue-app-routing
, teleport-types
, teleport-uidl-validator
Changelog
v0.12.3 (2020-07-21)
teleport-code-generator
, teleport-plugin-css-modules
, teleport-plugin-css
, teleport-plugin-react-jss
, teleport-plugin-react-styled-components
, teleport-plugin-react-styled-jsx
Changelog
v0.12.2 (2020-07-20)
Changelog
v0.12.1 (2020-06-25)
teleport-uidl-resolver