Code Monkey home page Code Monkey logo

bulma-timeline's Introduction

bulma-timeline

Bulma's extension to display a timeline (find all my bulma's extensions here)

npm npm Build Status

Documentation & Demo

You can find the Documentation and a demo here

bulma-timeline's People

Contributors

chops318 avatar davepwsmith avatar dependabot[bot] avatar gaetan-hexadog avatar lucperkins avatar luis-pabon-tf avatar rafeememon avatar svsven avatar wikiki 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  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  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

bulma-timeline's Issues

New release for 'no-headers'

Recent changes since Sep last year haven't been released to NPM yet.
Could you please do that? I'd like to use the 'no-headers' class...
Thanks! ๐Ÿ™‚

Change license from GPL to MIT or LGPL

HI @Wikiki

I've noticed that you use GPLv3 license, but Bulma uses MIT. As far as I known, GPLv3 forces all the code on which the GPL part is used to become GPL. Maybe this reduces the use of the extensions as it can impose some restrictions to adopting extensions on private software scenarios.

Other option would be switch to LGPLv3, as it forces only your code as GPL, but allow all other parts to be anything else.

This would apply to all Bulma extensions.

Best regards

Icons are not aligned correctly

bulma 0.6.2 and fontawesome v5.0.11

source

<div class="timeline-marker is-icon is-success">
  <i class="fas fa-plus"></i>
</div>

result

image

Large text width in <LI> doesn't return on line

Dear,

Using bulma css + this great timeline, i'm using the timeline in , when large text is populated there is no automatic line return, it expand on right without horizontal scroll.
Any idea ?

Regards

Would be great to have an "title" class for "timeline-item"

<div class="timeline-item">
    <div class="timeline-marker"></div>
    <div class="timeline-title">January 2021</div>
    <div class="timeline-content">
      <p>Timeline content - Can include any HTML element</p>
    </div>
  </div>
</code>

Thank you for all these amazing bulma extensions btw, huge work!

[sass] Undefined variable $grey-lighter

I'm using those packages:

{
  "dependencies": {
    "@fortawesome/fontawesome-free": "^6.2.0",
    "bulma": "^0.9.4",
    "bulma-switch": "^2.0.4",
    "bulma-timeline": "^3.0.5"
  },
  "devDependencies": {
    "nuxt": "^3.0.0-rc.12",
    "sass": "^1.55.0",
    "sass-loader": "^10.3.1"
  }
}

with this configuration:

export default defineNuxtConfig({
    css: [
        "bulma",
        "bulma-switch",
        "bulma-timeline",
        "~/assets/styles/main.css",
        "@fortawesome/fontawesome-free/css/all.min.css",
    ],
});

So I expect that executing npm run dev start compilation of bulma.sass, bulma-switch.sass and bulma-timeline.sass and injecting build output. But compiler give me this error:

 ERROR  [sass] Undefined variable.                                                                                                                                                          12:18:12
  โ•ท
2 โ”‚ $timeline-marker-color: $grey-lighter !default
  โ”‚                         ^^^^^^^^^^^^^
  โ•ต
  node_modules/bulma-timeline/src/sass/index.sass 2:25  root stylesheet

I've see that in package.json of bulma-timeline package there's "bulma": "^0.9.3" and the var undeclared is $grey-lighter that is declared in the https://github.com/jgthms/bulma/blob/0.9.3/sass/utilities/derived-variables.sass file from that bulma dist.

I'm missing something in my toolchain?

Edit 1: I've already use rm -rf .nuxt .output dist node_modules and npm cache clean --force before install.

NPM Package not in sync with repo

The NPM package seems to have been updated on Nov 3, 2017. However, the commits from Nov 1, 2017 which include a fix for the left half of timeline going out of alignment when .is-centered is used, are not in the NPM package.

Please update the package. :)

Horizontal Timeline

Is there any undocumented support for a horizontal timeline, rather than a vertical timeline?

Custom colors not detected

Assuming I've created some custom colors like so:

@import "~bulma/sass/utilities/initial-variables";
@import "~bulma/sass/utilities/functions";
@import "~bulma/sass/utilities/derived-variables";

$revenue: #19B99A;
...others

$revenue-invert: findColorInvert($revenue);
...others

$addColors: (
    "revenue":($revenue, $revenue-invert),
    ...others
);

$colors: map-merge($colors, $addColors);

@import "~bulma/bulma";
@import "~bulma-timeline";

Is there any way to get the timeline (and other extensions, like tooltips) to pick up my custom colors, so I can do things like timeline-item is-revenue?

The custom colors work across the rest of Bulma, but it seems they aren't picked up by the extensions.

Any thoughts? Thanks!

Edit: It seems if I import the sass file directly then my custom colors are picked up: @import "~bulma-timeline/dist/css/bulma-timeline"; Is this the correct way to do it? Should I be importing this file or the index.sass file from the src directory? FWIW this is in a React/Django project with Webpack. Please do let me know if there's any info I can clarify for you. Thanks!

No css included for in 2.0.3

Hi, I only saw .sass files in this release, I noticed an older release had a .css file in the dist folder.
I'm not sure if it's an accident or on purpose - just to let you know!

Thanks, great work!

Add all extensions to one repository with one sass file as entry point

Hi @Wikiki

I don't know where to ask for this, so I'm asking here.

Could you keep a repository with all extensions and a version number for easy integration with other projects as well easy modifications tracking?

I've created a repo using yours as submodules (https://github.com/giflw/bulma-extensions-all). You can use it as you wish. If you want, I can give pull access to it. But would be nice to have the all extensions repo under your username.

Best regards

Weirdness in 1.0.0 release?

I bumped the version of bulma-timeline in my project to 1.0.0, but something seems a little off. For instance, I don't see this change in the release: #13 In package.json, the version is indeed 1.0.0 but main points at index.js:

  ...

  "main": "index.js",
  "name": "bulma-timeline",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Wikiki/bulma-timeline.git"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "version": "1.0.0"
}

I may have done something weird but I wanted to flag it just in case.

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.