emortlock / tailwind-react-ui Goto Github PK
View Code? Open in Web Editor NEWReact utility component primitives & UI framework for use with Tailwind CSS
Home Page: https://emortlock.github.io/tailwind-react-ui/
React utility component primitives & UI framework for use with Tailwind CSS
Home Page: https://emortlock.github.io/tailwind-react-ui/
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.10.0
to 1.11.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Hi Ed,
I'm trying to using this project for a prototype that I'm building.
Part of that prototype has Bootstrap components, and there are a few clashes with Tailwind classes.
Tailwind supports a prefix
option in config which prefixes all generated classes to avoid that problem.
Is there a way to define a prefix for this library so that I can take advantage of that feature?
Stef
2.6.0
to 2.6.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
react-transition-group is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
This may be an issue with my tailwind setup , not 100% sure.
I'm using the fill button component that is in the docs example.
const Button = () => <FillButton brand="primary">Submit</FillButton>
some styles pull in , others do not such as the background color.
here is my tailwind config
const plugins = require('tailwind-react-ui/plugins')
module.exports = {
// ...project config
purge: [
],
plugins: [
require('tailwindcss/lib/plugins/container')({}),
...Object.keys(plugins).map(name => plugins[name]()),
],
}
here is my postcss config
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
],
};
:)
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.11.0
to 1.11.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Ref: https://tailwindcss.com/docs/margin/
TailwindCSS has a lot of custom classes for margin, among them:
m-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin: $value;
-m-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin: -$value;
my-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-top: $value; margin-bottom: $value;
-my-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-top: -$value; margin-bottom: -$value;
mx-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-right: $value; margin-left: $value;
-mx-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-right: -$value; margin-left: -$value;
m{t,r,b,l}-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-{top,right,bottom,left}: $value;
-m{t,r,b,l}-([0-8],10,12,16,20,24,32,40,48,56,64,auto,px)
-> margin-{top,right,bottom,left}: -$value;
As far as I can see, these are not provided for in this library yet. Would it be possible to add margin props corresponding to these values?
I can see this working something like this:
<Container mt={6} />
is functionally the same as
<Container className="mt6" />
For negative values:
<Container mt={-6} />
would be the same as
<Container className="-mt6" />
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.9.1
to 1.10.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I use tailwind-react-ui with latest TailwindCSS and component looks broken I noticed, that it uses pin-y and pin-r classes, which aren't available in TailwindCSS. There are top-0 and right-0 classes instead
2.16.0
to 2.17.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 61 commits.
0499050
bump to v2.17.0
f479635
[webpack] v0.11.1
8a4226d
Merge pull request #1320 from bradzacher/export-ts-namespaces
988e12b
fix(export): Support typescript namespaces
70c3679
[docs] make rule names consistent
6ab25ea
[Tests] skip a TS test in eslint < 4
405900e
[Tests] fix tests from #1319
2098797
[fix] export
: false positives for typescript type + value export
70a59fe
[fix] Fix overwriting of dynamic import() CallExpression
e4850df
[ExportMap] fix condition for checking if block comment
918567d
[fix] namespace
: add check for null ExportMap
2d21c4c
Merge pull request #1297 from echenley/ech/fix-isBuiltIn-local-aliases
0ff1c83
[dev deps] lock typescript to ~
, since it doesnβt follow semver
40bf40a
[*] [deps] update resolve
28dd614
Merge pull request #1304 from bradennapier/feature/typescript-export-type
There are 61 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.11.1
to 1.11.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.10.0
to 1.11.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.10.0
to 1.11.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
That's a dangerous bug, where <FillButton disabled>
is still clickable, and has its handler executed
I tried your package and it seems great. However, It seems like colors are broken, at least with the latest tailwind and default configuration.
If you take a look in the default tailwind configuration it uses: , you'll notice there are colors are defined with degrees:
blue: {
100: '#ebf8ff',
200: '#bee3f8',
300: '#90cdf4',
400: '#63b3ed',
500: '#4299e1',
600: '#3182ce',
700: '#2b6cb0',
800: '#2c5282',
900: '#2a4365',
},
but your components use bg-blue hover:bg-blue-dark
, so there are no those colors.
Is it a known issue? What is the best solution for that? Thanks
Ref: https://tailwindcss.com/docs/text-align/
Tailwind CSS has alignment props for text, namely:
.text-left
.text-center
.text-right
.text-justify
As far as I can see, there are no props corresponding to these yet. Would it be possible to add an align
prop, so for example:
<Text align="center" />
would correspond to
<Text className="text-center" />
devDependency
enzyme was updated from 3.8.0
to 3.9.0
.devDependency
enzyme-adapter-react-16 was updated from 1.9.1
to 1.10.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.
enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
From reading the docs, there should be a NumberInput
component corresponding to a numeric input. However, this is not exported into either of the distribution files:
$ grep NumberInput node_modules/tailwind-react-ui/dist/index.js
$ grep NumberInput node_modules/tailwind-react-ui/dist/index.cjs.js
You can check the demo page in Safari, you can't type text in the TextInput
component.
This is because of select="none"
attribute in Touchable.
As a workaround, TextInput
can override the attribute with select="auto"
or add a CSS for the global change:
/* Hack for cancelation select-none in Safari for inputs */
input.select-none { @apply select-auto }
Classes such as col-reverse
& wrap-reverse
on Flex
aren't being whitelisting in PurgeCSS
If a repository has no license, then all rights are reserved and it is not Open Source or Free. You cannot modify or redistribute this code without explicit permission from the copyright holder.
9.4.10
to 9.5.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
autoprefixer is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Autoprefixer 9.5 brings mask-composite
support.
a { mask-composite: add; } b { mask: url(intersect.png) intersect, url(exclude.png); }
a { -webkit-mask-composite: source-over; mask-composite: add; } b { -webkit-mask: url(intersect.png), url(exclude.png); -webkit-mask-composite: source-in, xor; mask: url(intersect.png) intersect, url(exclude.png); }
Thanks to @semeleven for implementation and @iamvdo for suggestion.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
devDependency
react was updated from 16.6.1
to 16.6.2
.devDependency
react-dom was updated from 16.6.1
to 16.6.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the react group definition.
react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.