@commercetools-uikit/stamp
Advanced tools
Comparing version 0.0.0-canary-2020726173227 to 0.0.0-canary-202097132941
# @commercetools-uikit/stamp | ||
## 0.0.0-canary-2020726173227 | ||
## 0.0.0-canary-202097132941 | ||
### Patch Changes | ||
- [`ecc94d5`](https://github.com/commercetools/ui-kit/commit/ecc94d5fe9dcf30a04c8d3f137ccda9761b7495c) [#1615](https://github.com/commercetools/ui-kit/pull/1615) Thanks [@emmenko](https://github.com/emmenko)! - Fix usage example of `Stamp` | ||
## 10.31.0 | ||
### Minor Changes | ||
@@ -6,0 +12,0 @@ |
@@ -115,5 +115,5 @@ 'use strict'; | ||
var version = '0.0.0-canary-2020726173227'; | ||
var version = '0.0.0-canary-202097132941'; | ||
exports.default = Stamp; | ||
exports.version = version; |
@@ -106,5 +106,5 @@ import PropTypes from 'prop-types'; | ||
var version = '0.0.0-canary-2020726173227'; | ||
var version = '0.0.0-canary-202097132941'; | ||
export default Stamp; | ||
export { version }; |
{ | ||
"name": "@commercetools-uikit/stamp", | ||
"version": "0.0.0-canary-2020726173227", | ||
"version": "0.0.0-canary-202097132941", | ||
"description": "Stamps are visual labels which hold small amounts of information regarding an item. (E.g Indicating if a product is published in a list).", | ||
@@ -5,0 +5,0 @@ "main": "dist/stamp.cjs.js", |
@@ -34,7 +34,7 @@ <!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. --> | ||
import React from 'react'; | ||
import Stamp from '@commercetools-uikit/card'; | ||
import Stamp from '@commercetools-uikit/stamp'; | ||
import Text from '@commercetools-uikit/text'; | ||
const Example = () => ( | ||
<Stamp> | ||
<Stamp tone="primary"> | ||
<Text.Detail>Hello</Text.Detail> | ||
@@ -49,5 +49,5 @@ </Stamp> | ||
| Props | Type | Required | Default | Description | | ||
| ---------- | ------------------------------------------------------------------------------------------------------------------ | :------: | ------- | ------------------------------- | | ||
| `tone` | `enum`<br>Possible values:<br>`'critical' \| 'warning' \| 'positive' \| 'information' \| 'primary' \| 'secondary'` | ✅ | | Indicates color scheme of stamp | | ||
| `children` | `node` | ✅ | | | | ||
| Props | Type | Required | Default | Description | | ||
| ---------- | ------------------------------------------------------------------------------------------------------------------ | :------: | ------- | ----------------------------------- | | ||
| `tone` | `enum`<br>Possible values:<br>`'critical' \| 'warning' \| 'positive' \| 'information' \| 'primary' \| 'secondary'` | ✅ | | Indicates the color scheme of stamp | | ||
| `children` | `node` | ✅ | | | |
13544