New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bloomer-extensions

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloomer-extensions

React Bulma extensions

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

bloomer-extensions

React components for bulma-extensions.

THIS IS A WORK-IN-PROGRESS

Installing

Remember that this is a work-in-progress and therefore future changes are impossible. We do follow Semantic Versioning, which allows you to identify whether a change is breaking or not. But bugs are also possible, therefore, using this library in production is not recommended, yet, and shall be done under your risk. PRs are always welcome.

npm i bloomer-extensions

TO-DO

  • Proper testing
  • Documentation and examples
  • Carousel
  • CheckRadio
  • Divider
  • IconPicker
  • PageLoader
  • PricingTable
  • QuickView
  • Ribbon
  • Slider
  • Steps
  • TagsInput
  • Timeline
  • ToolTip

Usage

As stated above, proper documentation is yet in the TO-DO list, and using this library in production is not recommended yet. But if you want to try it yourself or even help with PRs, here are a few examples:

import {  Divider,
          PageLoader,
          ToolTip,
          Badge,
          CheckRadio,
          Slider,
          CheckSwitch,
          QuickView, QuickViewHeader, QuickViewBody, QuickViewBlock, QuickViewFooter,
          Steps, StepItem, StepMarker, StepDetails, StepTitle,
          Timeline, TimelineHeader, TimelineItem, TimelineMarker, TimelineContent
  } from 'bloomer-extensions'

Divider

<Divider />
<Divider isVertical />
<Divider content="HI" />

PageLoader

<PageLoader isActive>
	Test
</PageLoader>

ToolTip

<ToolTip text="Hey">Test</ToolTip>

Badge

<Badge text="8">
	<button class="button">Test</button>
</Badge>

CheckRadio

<CheckRadio id="test" checked={this.state.checkradioChecked} onClick={() => this.setState({ checkradioChecked: !this.state.checkradioChecked })}>Click me</Checkradio>

<CheckRadio type="radio" name="myGroup" id="opt1" value="1" checked>Option 1</Checkradio>

<CheckRadio type="radio" name="myGroup" id="opt2" value="2">Option 2</Checkradio>

Slider

<Slider value={this.state.sliderValue} onChange={(e) => this.setState({ sliderValue: e.target.value })} />
<p>{ this.state.sliderValue || 50 }</p>

CheckSwitch

<CheckSwitch checked={this.state.checkswitchChecked} onClick={() => this.setState({ checkswitchChecked: !this.state.checkswitchChecked })}>
	Check me
</CheckSwitch>

QuickView

<QuickView isActive={this.state.quickview}>
	<QuickViewHeader>
	  Title
	  <Delete onClick={() => this.setState({ quickview: false })} />
	</QuickViewHeader>

	<QuickViewBody>
	  <QuickViewBlock>
	    Hello, world
	  </QuickViewBlock>
	</QuickViewBody>

	<QuickViewFooter>
	  Footer
	</QuickViewFooter>
</QuickView>

Steps

  <Steps isSize='large'>
    <StepItem isCompleted isColor='info'>
      <StepMarker>
        ✓
      </StepMarker>
      <StepDetails>
        <StepTitle>Step 1</StepTitle>
        <p>Steps' first step</p>
      </StepDetails>
    </StepItem>

    <StepItem isActive>
      <StepMarker>
        ✓
      </StepMarker>
      <StepDetails>
        <StepTitle>Step 2</StepTitle>
        <p>Steps' second step</p>
      </StepDetails>
    </StepItem>

    <StepItem>
      <StepMarker>
        ✓
      </StepMarker>
      <StepDetails>
        <StepTitle>Step 3</StepTitle>
        <p>Steps' third step</p>
      </StepDetails>
    </StepItem>

    <StepItem>
      <StepMarker>
        ✓
      </StepMarker>
      <StepDetails>
        <StepTitle>Step 4</StepTitle>
        <p>Steps' final step</p>
      </StepDetails>
    </StepItem>

  </Steps>

Timeline

  <Timeline>

    <TimelineHeader>
      <Tag isSize='medium' isColor='primary'>Start</Tag>
    </TimelineHeader>

    <TimelineItem>
      <TimelineMarker />
      <TimelineContent>
        <p class="heading">January 2016</p>
        <p>Timeline content</p>
      </TimelineContent>
    </TimelineItem>

    <TimelineItem>
      <TimelineMarker isColor='info' isSize='medium' />
      <TimelineContent>
        <p class="heading">January 2017</p>
        <p>Timeline content</p>
      </TimelineContent>
    </TimelineItem>

    <TimelineItem>
      <TimelineMarker isColor='info' isSize='medium' isIcon>
        ✓
       </TimelineMarker>
      <TimelineContent>
        <p class="heading">January 2017</p>
        <p>Timeline content</p>
      </TimelineContent>
    </TimelineItem>

  </Timeline>

License

MIT.

Keywords

FAQs

Package last updated on 08 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc