Coder Social home page Coder Social logo

byuweb / byu-calendar-components Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 4.11 MB

A central repository to bundle all the byu calendar components, including the byu-calendar-tile, byu-calendar-row, and byu-calendar component. byu-calendar acts as a wrapper for the other two components.

License: Apache License 2.0

JavaScript 51.08% CSS 38.41% HTML 10.51%
web-components

byu-calendar-components's People

Contributors

blakemorgan avatar katrialesser avatar kevin-larry-bauer avatar masterqwerty avatar michaelpratt28 avatar mkpratt avatar sher1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

masterqwerty

byu-calendar-components's Issues

Adjust how the byu-calendar component includes or references other components js and css

Right now, all calendar component js and css is being bundled INTO the byu-calendar component js and css files.. So every time byu-calendar is used, we have to load ALL the js/css for ALL calendar components. that is definitely not ideal.

We need to think through the best approach for breaking this out and WHERE to add CONDITIONAL include lines for the css or js for the component.

We can't conditionally bundle in some calendar components' js or scss into byu-calendar; then that component code would vary all the time.

We need the byu-calendar component to REFERENCE the css and js files for the "sub" calendar components WHEN those components are in use.

Will we have issues with several references to the same js/css on the same page?
Only if they have multiple complete displays with the same style..

byu-calendar is a wrapper around any other kind of component. If we have a list of calendar-tiles then it'll have a byu-calendar wrapper, and then a number of byu-calendar-tiles instances inside. The byu-calendar component will reference the js and css for the byu-calendar-tiles just once.

It would only be duplicated if they had 2 separate byu-calendar displays of the same display type on the same page.

Add Minimalist Horizontal Tile component

Let's add a quick simple component and display type for this new tile format:
https://byu.app.box.com/file/299067743269 - scroll down a couple pages, it's a block on the left. Don't worry about the Calendar block title style or line to the right,
image
Let's have the royal background, as seen in the mockup, but allow a navy-background option by adding that class to the byu-minimal-tile element.

Colors:
https://byu.app.box.com/file/291987058104
brand.byu.edu/guidelines/color/

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.