mlibrary / umich-lib-ui Goto Github PK
View Code? Open in Web Editor NEWA React component library.
A React component library.
Add a data attribute such as data-content-container
for every wrapper/container around content and document how to styled this with CSS.
[data-content-container] {
max-width: 52rem;
}
https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
Maybe it's possible to expose some general configuration. Such as default font size or inherit. Or max content width.
Resources
*important
Doc components
Component detail view
react-live
type components. (Children as render prop? with md-to-jsx)Other
https://design-system.lib.umich.edu/ is blank on Firefox 67.0.2 on Ubuntu 18.04. Disabling my ad-blocker has no affect. https://design-system.lib.umich.edu/getting-started/introduction/ seems to load just fine, and I'm able to navigate to most of the links on the sidebar.
This was the first time I had visited the page, so my cache was fresh. However, the page loads just fine if I start it with a private session.
My browser loads the following source for that page:
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><meta name="generator" content="Gatsby 2.3.3"/><title data-react-helmet="true"></title><style type="text/css">
.anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
}
h1 .anchor svg,
h2 .anchor svg,
h3 .anchor svg,
h4 .anchor svg,
h5 .anchor svg,
h6 .anchor svg {
visibility: hidden;
}
h1:hover .anchor svg,
h2:hover .anchor svg,
h3:hover .anchor svg,
h4:hover .anchor svg,
h5:hover .anchor svg,
h6:hover .anchor svg,
h1 .anchor:focus svg,
h2 .anchor:focus svg,
h3 .anchor:focus svg,
h4 .anchor:focus svg,
h5 .anchor:focus svg,
h6 .anchor:focus svg {
visibility: visible;
}
</style><script>
document.addEventListener("DOMContentLoaded", function(event) {
var hash = window.decodeURI(location.hash.replace('#', ''))
if (hash !== '') {
var element = document.getElementById(hash)
if (element) {
var offset = element.offsetTop
// Wait for the browser to finish rendering before scrolling.
setTimeout((function() {
window.scrollTo(0, offset - 0)
}), 0)
}
}
})
</script><link as="script" rel="preload" href="/component---node-modules-gatsby-plugin-offline-app-shell-js-b2acb4db879a2ec7e5d4.js"/><link as="script" rel="preload" href="/app-8eb7a5ea54d435cc8816.js"/><link as="script" rel="preload" href="/webpack-runtime-f4e3074304bdc99ed7ae.js"/><link as="fetch" rel="preload" href="/static/d/604/path---offline-plugin-app-shell-fallback-a-30-c5a-BawJvyh36KKFwbrWPg4a4aYuc8.json" crossorigin="use-credentials"/></head><body><noscript id="gatsby-noscript">This app works best with JavaScript enabled.</noscript><div id="___gatsby"><div style="outline:none" tabindex="-1" role="group"></div></div><script id="gatsby-script-loader">/*<![CDATA[*/window.page={"componentChunkName":"component---node-modules-gatsby-plugin-offline-app-shell-js","jsonName":"offline-plugin-app-shell-fallback-a30","path":"/offline-plugin-app-shell-fallback/"};window.dataPath="604/path---offline-plugin-app-shell-fallback-a-30-c5a-BawJvyh36KKFwbrWPg4a4aYuc8";/*]]>*/</script><script id="gatsby-chunk-mapping">/*<![CDATA[*/window.___chunkMapping={"app":["/app-8eb7a5ea54d435cc8816.js"],"component---node-modules-gatsby-plugin-offline-app-shell-js":["/component---node-modules-gatsby-plugin-offline-app-shell-js-b2acb4db879a2ec7e5d4.js"],"component---src-templates-doc-js":["/component---src-templates-doc-js-468eb58467ec5a22b4c7.js"],"component---src-pages-404-js":["/component---src-pages-404-js-7492dd92ab97e115e429.js"],"component---src-pages-index-js":["/component---src-pages-index-js-6b8edff3682441ab0610.js"],"pages-manifest":["/pages-manifest-e58ce025228ca80dd43d.js"]};/*]]>*/</script><script src="/webpack-runtime-f4e3074304bdc99ed7ae.js" async=""></script><script src="/app-8eb7a5ea54d435cc8816.js" async=""></script><script src="/component---node-modules-gatsby-plugin-offline-app-shell-js-b2acb4db879a2ec7e5d4.js" async=""></script></body></html>
build:lib
, might just be with babel?I want everything to sparkle. It should be so shiny.
Really I just don't want the community backlog to be empty and am testing things.
BECAUSE REASONS
Nope.
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.