Giter Site home page Giter Site logo

william57m / homekit-react-components Goto Github PK

View Code? Open in Web Editor NEW
37.0 2.0 5.0 10.48 MB

HomeKit and iOS widgets replica for web usage

Home Page: https://william57m.github.io/homekit-react-components/

JavaScript 6.20% CSS 10.75% TypeScript 83.06%

homekit-react-components's People

Contributors

dependabot[bot] avatar greghesp avatar william57m 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

Watchers

 avatar  avatar

homekit-react-components's Issues

Contribution Errors

Hey,

I'm trying to make some contributions, but having some issues getting these to import correctly. My HA dashboard is working fine with the published npm version, but I get the below errors when using the built version. I think the issue is the props aren't being passed through, but can't see a reason why.

Invalid hook call. Hooks can only be called inside of the body of a function component

I've forked the repo, ran the build command, and then I've tried using yarn link and pointing my import line to the dist/index.js file, but both result in the same issue

Any ideas?

Issue with homekit-react-components // next.js // ReferenceError: self is not defined

Hi,

I am getting this error when trying to use your package:

Server Error
ReferenceError: self is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.

../node_modules/homekit-react-components/node_modules/react-mobile-picker/lib/react-mobile-picker.js (1:11175)

I also had the same error in your dist/index.js file (line 10, char 4) -> "})(self, function() {". I changed this to "})(this, function() {" and got the error above.

Any tips or is this package dead?

Layout issues with SceneCard

Haven't had time to look at these myself, but there seems to be a couple of issues with the scene cards

There aren't any props to add margins or custom classes to these, however the homeassistant-dashboard tries to use them. Also seems there is a vertical alignment issue with the icons

image

This one looks to be line height for if the scene name is too long. I believe the line height is whats causing issues with the vertical alignment too

image

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.