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

@zalando/cms-mosaic-components

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zalando/cms-mosaic-components - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"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;

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