Code Monkey home page Code Monkey logo

ra-components's People

Contributors

bb-bhargav avatar rakesh-bb avatar ravi-ranjan-bb avatar sivaavkd 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ra-components's Issues

Ability to create JSON from many fields of the record

What?

  • Currently, JSONField can show JSON in tree format from a given source
  • We need to enhance to take multiple sources and show JSON of all the sources.

How ?

  • Enhance JSONField to take comma separated sources.
  • Also, enhance it to take ALL so that JSON is prepared using all sources in the record.
  • Should be backward compatible.

Moving off @mui/styles?

The @mui/styles page says:

@mui/styles was deprecated with the release of MUI Core v5 in late 2021. It depended on JSS as a styling solution, which is no longer used in @mui/material.

@mui/styles is not compatible with React.StrictMode or React 18, and it will not be updated.

This documentation remains here for those working on legacy projects, but we strongly discourage you from using @mui/styles when creating a new app with Material UI—you will face unresolvable dependency issues.

Please use @mui/system instead.

Would be great to see ra-components migrated to @mui/system!

"theme" doesn't have the breakpoints

I'm getting an undef error for theme.breakpoints.only("xs") - theme.breakpoints is undefined. I've my Admin is configured like this:

const myLayout = () => <Layout menu={TreeMenu} />;

 <ThemeProvider theme={myTheme}>
            <Admin
                dataProvider={props.dataProvider}
                authProvider={props.authProvider}
                theme={myTheme} 
                layout={myLayout}

And I get an error:

index.js:1 MUI: The `styles` argument provided is invalid.
You are providing a function without a theme in the context.
One of the parent elements needs to use a ThemeProvider. 
    at TreeMenu (http://localhost:8088/static/js/0.chunk.js:13537:25)
    at div
----


index.js:689 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'only')
    at push../node_modules/@bb-tech/ra-components/dist/index.js.styles.makeStyles.name (index.js:689:1)

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.