Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudbees/honeyui-card

Package Overview
Dependencies
Maintainers
15
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudbees/honeyui-card - npm Package Compare versions

Comparing version 0.8.0 to 1.0.0

stories/card-color-outline.story.jsx

1

dist/index.css.d.ts

@@ -5,2 +5,3 @@ // This file is automatically generated.

'accordion': string;
'btn': string;
'card': string;

@@ -7,0 +8,0 @@ 'card-body': string;

4

package.json
{
"name": "@cloudbees/honeyui-card",
"version": "0.8.0",
"version": "1.0.0",
"description": "",

@@ -30,3 +30,3 @@ "main": "dist/index.css",

},
"gitHead": "3cebfb5dc78fa6ae57372e88076197591c633b14"
"gitHead": "8771621568cb8e931a29f7482454ba2de6ac4236"
}
import React from "react";
export default (
<div className="m-5">
<div className="card" style={{ width: "18rem" }}>
<div className="card-body">This is some text within a card body.</div>
<div className="container-fluid">
<div className="row mb-2">
<div className="col col-sm-4">
<div className="card">
<div className="card-body">This is some text within a card body.</div>
</div>
</div>
</div>
</div>
);
import React from "react";
export default (
<div className="m-5">
<div className="card" style={{ width: "18rem" }}>
<img src="https://via.placeholder.com/150" className="card-img-top" alt="..." />
<div className="card-body">
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content.
</p>
<div className="container-fluid">
<div className="row mb-2">
<div className="col col-sm-4">
<div className="card">
<img src="https://via.placeholder.com/150" className="card-img-top" alt="..." />
<div className="card-body">
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content.
</p>
</div>
</div>
</div>
<div className="col col-sm-4">
<div className="card">
<img src="https://via.placeholder.com/150" className="card-img-top" alt="..." />
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content.
</p>
<button type="button" className="btn btn-primary">
Primary
</button>
</div>
</div>
</div>
</div>
</div>
);

@@ -5,11 +5,15 @@ import React from "react";

export default (
<div className="m-5">
<div className="card" style={{ width: "18rem" }}>
<ul className="list-group list-group-flush">
<li className="list-group-item">Cras justo odio</li>
<li className="list-group-item">Dapibus ac facilisis in</li>
<li className="list-group-item">Vestibulum at eros</li>
</ul>
<div className="container-fluid">
<div className="row mb-2">
<div className="col col-sm-4">
<div className="card">
<ul className="list-group list-group-flush">
<li className="list-group-item">Cras justo odio</li>
<li className="list-group-item">Dapibus ac facilisis in</li>
<li className="list-group-item">Vestibulum at eros</li>
</ul>
</div>
</div>
</div>
</div>
);
import React from "react";
export default (
<div className="m-5">
<div className="card" style={{ width: "18rem" }}>
<img src="https://via.placeholder.com/150" className="card-img-top" alt="..." />
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content.
</p>
<div className="container-fluid">
<div className="row mb-2">
<div className="col col-sm-4">
<div className="card">
<img src="https://via.placeholder.com/150" className="card-img-top" alt="..." />
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content.
</p>
</div>
<ul className="list-group list-group-flush">
<li className="list-group-item">Cras justo odio</li>
<li className="list-group-item">Dapibus ac facilisis in</li>
<li className="list-group-item">Vestibulum at eros</li>
</ul>
<div className="card-body">
<a href="#" className="card-link">
Card link
</a>
<a href="#" className="card-link">
Another link
</a>
</div>
</div>
</div>
<ul className="list-group list-group-flush">
<li className="list-group-item">Cras justo odio</li>
<li className="list-group-item">Dapibus ac facilisis in</li>
<li className="list-group-item">Vestibulum at eros</li>
</ul>
<div className="card-body">
<a href="#" className="card-link">
Card link
</a>
<a href="#" className="card-link">
Another link
</a>
</div>
</div>
</div>
);
import React from "react";
export default (
<div className="m-5">
<div className="card" style={{ width: "18rem" }}>
<div className="card-body">
<h5 className="card-title">Card title</h5>
<h6 className="card-subtitle mb-2 text-muted">Card subtitle</h6>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content test test test.
</p>
<a href="#" className="card-link">
Card link
</a>
<a href="#" className="card-link">
Another link
</a>
<div className="container-fluid">
<div className="row mb-4">
<div className="col col-sm-4">
<div className="card">
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content test test test.
</p>
</div>
</div>
</div>
<div className="col col-sm-4">
<div className="card">
<div className="card-body">
<h5 className="card-title">Card title</h5>
<h6 className="card-subtitle text-muted">Card subtitle</h6>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content test test test.
</p>
<a href="#" className="card-link">
Card link
</a>
<a href="#" className="card-link">
Another link
</a>
</div>
</div>
</div>
<div className="col col-sm-4">
<div className="card">
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
Some quick example text to build on the card title and make up the bulk of the card's
content test test test.
</p>
<button type="button" className="btn btn-primary">
Primary
</button>
</div>
</div>
</div>
</div>
</div>
);
import { storiesOf } from "@storybook/react";
import cardBasicStory from "./card-basic.story";
import cardTextLinkStory from "./card-text-link.story";
import cardHeaderFooterStory from "./card-header-footer.story";
import cardImageStory from "./card-image.story";
import cardListStory from "./card-list.story";
import cardMixAndMatchStory from "./card-mix-and-match.story";
import cardColorAndOutlineStory from "./card-color-outline.story";
storiesOf("Components | Card", module)
.add("Card Basic", () => cardBasicStory)
.add("Card with Text and Links", () => cardTextLinkStory)
.add("Card with Title and Links", () => cardTextLinkStory)
.add("Card with Header and Footer", () => cardHeaderFooterStory)
.add("Card with Image", () => cardImageStory)
.add("Card with a List", () => cardListStory)
.add("Card mix and match", () => cardMixAndMatchStory);
.add("Card mix and match", () => cardMixAndMatchStory)
.add("Card color and outline", () => cardColorAndOutlineStory);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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