GithubHelp home page GithubHelp logo

march08 / dashboard-ui-kit Goto Github PK

View Code? Open in Web Editor NEW
202.0 202.0 30.0 28.93 MB

React UI components for rapid development.

Home Page: https://developer-march08-duik.vercel.app/docs/react/text-field

License: MIT License

TypeScript 80.18% HTML 0.75% JavaScript 1.41% SCSS 17.66%

dashboard-ui-kit's People

Contributors

march08 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dashboard-ui-kit's Issues

Invalid hook call. when using in next.js

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 in form bug.

Date picker's arrow buttons triggers onSubmit event, when you want to change month.

It can be stopped with event.preventDefault().

webpack build errors / import resolve issues

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:

Screen Shot 2019-10-29 at 11 19 02 AM

Gatsby build issue

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?

Instructions on using @icon/font

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!

Components can't foward reference.

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) => { ....... });

Bug with Icons system

I have an issue where I cannot use the built in icon system with the following error upon page load:

I'm on next.js, though I don't think it's what's causing the issue.

Here's more info for context:


Thanks in advance, the UI kit is great overall, despite this bug.

SSR support

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.