siriwatknp / mui-treasury Goto Github PK
View Code? Open in Web Editor NEWA collection of ready-to-use components based on Material-UI
Home Page: https://mui-treasury.com
License: MIT License
A collection of ready-to-use components based on Material-UI
Home Page: https://mui-treasury.com
License: MIT License
This tool is becoming a standard and can help keep the code readable and maintainable.
It also saves developers tons of time wasted on formatting code.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
see in web
This is a fantastic project and I would like to participate in the development process.
Can you write a contribution guidelines? Maybe accompanied by a roadmap.
// before
withTheme()(Component)
// v4
withTheme(Component)
classNames : From hashed to global className
MuiThemeProvider is no longer used, use ThemeProvider from '@material-ui/styles' instead
Official MuiButton-flat to MuiButton-text affect Predefined Button v1.1
Tab style attribute "label" & "labelContainer" is no longer available.
/src
/brands
/peapods
/lib (this will be move to @mui-treasury/peapods in the future)
/assets
/theme
…pure components
/demo (this is for Peapods Page in mui-treasury)
Hello, in the generated code for a Layout using chevron icons, there are two different lines that import as ChevronLeftIcon, and nothing that imports as ChevronRightIcon. This causes these layouts to throw errors.
I will submit a pull request shortly.
The puzzle 165-f7a467f7
from #165 has to be resolved:
The puzzle was created by @siriwatknp on 21-Oct-19.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
Thanks for your sharing and appreciate for your huge effort to make it live.
Hope this will support typescript as well.
Hi, I have a question that I can't solve, how do I do it when I click on an item in the drawer that hides?
I would like to be able to import all the components via an npm package.
Seeing as this repo has not been published yet, I suggest refactoring the project folder structure to have a src/packages
folder for each exported package.
Besides @mui-treasury/peapods and @mui-treasury/core what else should we export?
Description
When the header is fixed, clipped, and the side drawer is permanent or persistent then side nav first item is not visible because it is behind the header app bar
I have tried all presets and custom made using Layout Builder but couldn't resolve the issue.
To Reproduce
Steps to reproduce the behavior:
<Root config={presets.createMuiTreasuryLayout()} >
<Header>
and <Nav>
Expected behavior
It would be better if there was top margin when drawer is permanent or persistent and header is clipped
true
Hi would be great to provide a shopping cart Summary widget?
Using Fullscreen
and FullscreenExit
combined with Fullscreen API is a common component to have in some backoffice driven apps.
Maybe would be nice to publish this component under Mui Treasure, it depends of #72
Actual code, copied from https://www.npmjs.com/package/@straw-hat/react-fullscreen (I am the author)
import IconButton from '@material-ui/core/IconButton';
import FullscreenIcon from '@material-ui/icons/Fullscreen';
import FullscreenExitIcon from '@material-ui/icons/FullscreenExit';
import * as React from 'react';
import { useFullscreen } from '@straw-hat/react-fullscreen';
export function FullscreenButton() {
const target = React.useRef(window.document.body);
const { isFullscreen, toggleFullscreen } = useFullscreen(target);
return (
<IconButton color="inherit" onClick={toggleFullscreen}>
{isFullscreen ? <FullscreenExitIcon /> : <FullscreenIcon />}
</IconButton>
);
}
Cheers,
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.