@zalando/cms-mosaic-components
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@zalando/cms-mosaic-components", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Partner Content Components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# cms-mosaic-components | ||
React components for Partner Content CMS. | ||
React components library for Partner Content CMS. [Showcase](https://www-de.release.zalando.net/mosaic-components-test) of the cms mosaic components on stage. | ||
@@ -18,1 +18,23 @@ ### Build | ||
``` | ||
### Test | ||
``` | ||
npm run test | ||
``` | ||
### Using Shaker UI Library | ||
Owned by Team Jigsaw - go to their [showcase](https://shaker.jigsaw.zalan.do/#Home) | ||
Best practice, how to use: | ||
- Don't relay on shaker class names | ||
- Provide and use custom class names for each component, in order to controle own component library. | ||
- Every shaker component can be deleted in further versions, without replacement. | ||
- Use [base assets](https://github.bus.zalan.do/pathfinder/base-assets#npm-tarballs) as npm **external** modules, in order to avoide version conflicts. | ||
### Using fragment to fragment communication | ||
Use [event bus handler](https://github.bus.zalan.do/pathfinder/mosaic-frontend-events), in order to trigger another fragment as execute quick buy or showcase catalog component. | ||
- [QuickBuy fragment](https://github.bus.zalan.do/vegas/quickbuy-fragment/wiki) is owned by Team Vegas | ||
- [Catalog fragment](https://github.bus.zalan.do/NaviCat/cognac) is owned by Team Katze |
@@ -8,22 +8,2 @@ | ||
// export type HeadlineProps = { | ||
// inline?: boolean; | ||
// spacing?: boolean; | ||
// className?: string, | ||
// level: 1 | 2 | 3 | 4; | ||
// seoTag?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | ||
// }; | ||
// // https://github.bus.zalan.do/pathfinder/shaker/tree/master/components/headline | ||
// export class Headline extends React.Component<HeadlineProps, undefined> { } | ||
// export type ImageProps = { | ||
// altText: string; | ||
// className?: string, | ||
// src: string; | ||
// }; | ||
// // https://github.bus.zalan.do/pathfinder/shaker/tree/master/components/image | ||
// export class Image extends React.Component<ImageProps, undefined> { } | ||
export type ButtonProps = { | ||
@@ -30,0 +10,0 @@ inline?: boolean; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25615
40
0
200