march08 / dashboard-ui-kit Goto Github PK
View Code? Open in Web Editor NEWReact UI components for rapid development.
Home Page: https://developer-march08-duik.vercel.app/docs/react/text-field
License: MIT License
React UI components for rapid development.
Home Page: https://developer-march08-duik.vercel.app/docs/react/text-field
License: MIT License
See here: https://developer.dashboard-ui.com/docs/react/modal
Not sure why both are there but I noticed it while reading through the docs
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
Date picker's arrow buttons triggers onSubmit event, when you want to change month.
It can be stopped with event.preventDefault().
07:04:03 PM | Module not found: Error: Can't resolve './check' in '/zeit/53f9802/dashboard-ui-kit/packages/BaseInput'
I forked the repo and was trying to look into a way to fix my other issue (#5) but when I try and run the build script, I get the following error on every SCSS file:
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
@import '@duik/core/_vars.scss';
^
File to import not found or unreadable: @duik/core/_vars.scss.
I tried to add a resolve.alias
setting to the packages/webpack.config.js
but that didn't seem to help:
resolve: {
extensions: [".tsx", ".ts", ".js"],
alias: {
"@duik": path.resolve(__dirname, 'packages/')
}
},
It seems like you must have some special configurations on your end (outside of the project files, etc)?
Also, this may or may not be related, but I'm also getting errors in VS Code in the typescript files about the imports:
The className
prop for the TextArea
is totally unused.
https://github.com/march08/dashboard-ui-kit/blob/master/packages/TextArea/index.tsx#L18-L41
Hi, I'm trying to use duik with a Gatsby project (current version as of now). The build is failing due to an error from duik:
failed Building static HTML for pages - 7.895s
ERROR #95313
Building static HTML failed for path "/dash/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
129 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
130 | t[p] = s[p];
> 131 | }
| ^
132 | return t;
133 | };
134 | return __assign.apply(this, arguments);
WebpackError: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
- index.js:131 Promise._resolveFromExecutor
node_modules/@duik/alert/dist/index.js:131:1
Any ideas?
I've been unable to get <Icon>
working in my project. I'm not running into webpack compile errors, and the uikon
style seems to be applying to the element, but I'm just seeing the plaintext "building" instead of the building icon render.
Specific instructions on how to get <Icon/>
working would be appreciated!
Component's from UIKit can't foward refence, so you can't use "ref={...}" prop.
It can be fixed with const Component = React.fowardRef((props, ref) => { ....... });
I'm very much interested in using your UI Kit with Next.JS but the way you've used webpack to compile / bundle all the components, as soon as you import anything it throws an error (because of Server Side Rendering) which reads: ReferenceError: window is not defined
.
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.