npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@economist/fabric-components

v0.8.2

Published

A Component library made for consumption by Fabric team.

Downloads

330

Maintainers

shrikant-npm-economistshrikant-npm-economistishankguptaecoishankguptaecoaniketguptaecoaniketguptaecohimanshupalecohimanshupalecogreg-canngreg-canntayojatayojayannstepienikyannstepienikmadhav1-tegmadhav1-tegpreeti-tegpreeti-tegashutosh-tegashutosh-teggreggschofieldgreggschofieldjuraj271juraj271alanrenniealanrennieraruprairarupraijonleeeconomist2jonleeeconomist2olumideosikomaiyaolumideosikomaiyadanielperezcascondanielperezcasconwaltecowaltecoshubhameconomistshubhameconomistajeet-singh024ajeet-singh024benpehbenpehakshatrastogi01akshatrastogi01shivpathak-tegshivpathak-tegpvalentimpvalentimninjanailseconomistninjanailseconomistsaurabhsatwani-tegsaurabhsatwani-tegcristianpetre-tegcristianpetre-tegjakezachariahnixonjakezachariahnixondevrath-tegdevrath-tegecon.martinchanecon.martinchanjimc-tegjimc-tegteenuburiteenuburileahpatelleahpatelzeek01zeek01paarthpuripaarthpuriemilyblundelltegemilyblundelltegaayushkumareconaayushkumareconfaiz-tegfaiz-tegbenhalsteadtegbenhalsteadtegrorywebberrorywebbersahu-economistsahu-economistromany-glromany-gljohnfriendjohnfriendjosephc_100josephc_100robthomas72robthomas72rully-tegrully-tegirshadfareedirshadfareedemiliawilemiliawilfaisal1505faisal1505charlottecutlercharlottecutlerpetervoeconomistpetervoeconomistghazali-tegghazali-tegyordan-tegyordan-tegykswra-tegykswra-tegtrankimtung-economisttrankimtung-economistrickmatherrickmathermikeeconmikeeconovysotskayaovysotskayasiva-tegsiva-teggibbsygibbsykarltaylorkarltaylorvirajvinodkumarvirajvinodkumarlenfacelenfaceconnorpayneconnorpaynebangunecobangunecovinnay0308vinnay0308adjizulfiqarfauziadjizulfiqarfauziafiefyrafiefyrtegalankftegalankfendiirawanecoendiirawanecoelenafayethomaselenafayethomasrendyfebry.ecorendyfebry.ecoirfan2204irfan2204stevenleeeconomiststevenleeeconomistchituruchinwahchituruchinwahchloemcmullanchloemcmullanransomprofitransomprofitrichard-frostrichard-frosttgrisleytgrisleyneilateconomistneilateconomistsolo-digitalsolo-digitalyevdominyevdominfteoldifteoldinanjunda-tegnanjunda-tegalexecoalexecorospearcerospearcesangeeta-economistsangeeta-economistmfireskymfireskylarry4000larry4000celltowertreescelltowertreeschriscamplinchriscamplinwizbit77wizbit77danielmensahdanielmensahraghu-tegraghu-tegdwi-tegdwi-tegrsmutchrsmutchctheodoridouctheodoridoucristiangutueconomistcristiangutueconomistedemeconomistedemeconomistnam-econnam-econbarneywardbarneywarduwajacquesuwajacqueslgordienkolgordienkoliambirdliambirdkellybrocklehurstkellybrocklehurstluketaylorluketayloryousea2_economistyousea2_economistkrishnapriyaelangokrishnapriyaelangoazzuhasanazzuhasansimonwtaylorsimonwtaylorjayyecmjayyecmkartik.saxenakartik.saxenanautiyalmanishnautiyalmanishmatthewarrowsmithmatthewarrowsmithrmisyukrmisyukkamil_pkamil_pjonleeeconomistjonleeeconomistangelamaugeyangelamaugeyfarnaz.ostovarifarnaz.ostovarigrmndgrmndov212ov212xaviergimenezxaviergimenezsimmyd91simmyd91umairyounusumairyounuslayo_titilayo_titijohnperaginejohnperaginestevedrogstevedrogjimhuntyeconomistjimhuntyeconomistcjallen88cjallen88ashrafiftekharashrafiftekharv.potonyav.potonyaevgenylyndinevgenylyndintonygoodeytonygoodeyfuturaprimefuturaprimediana.carmendiana.carmeneconomistroboteconomistroboteconomist-org-boteconomist-org-botwithoutnationswithoutnationsdavidwong.economist.comdavidwong.economist.coma-w-la-w-lmikeconwaymikeconwayjamespenricejamespenricematt-hall-kccmatt-hall-kccjohnvannguyenjohnvannguyenferdousiqbalferdousiqbalalexselbyboothroydalexselbyboothroydelliottmorriselliottmorrisstephanienedoklanovastephanienedoklanovagduntongduntondrinkatacodrinkatacofcecofcecotothvojtothvojecomorantecomorantdanaciocandanaciocanmattcouchmanmattcouchmankristynolankristynolanjohtijohtieconomist-web-teameconomist-web-teammattpointblankmattpointblanksukh-kinandcartasukh-kinandcartaotomogrooveotomogroovesamualdjpaynesamualdjpayneimpactyogiimpactyogilewturlewturshahdotrahulshahdotrahulpedrito77pedrito77stancek_globallogicstancek_globallogickevin-economistkevin-economistmatildealiffimatildealiffipadspadsraynelle03raynelle03robmorgan-tabrobmorgan-tabforpetforpetjonh-econjonh-econdavidgoodchilddavidgoodchildjust_ak87just_ak87fadumoaideedfadumoaideedjaroslavhamrakjaroslavhamrakmlovedaymlovedayirfanyasin_tegirfanyasin_tegigorshcherbaigorshcherbamanunesmanunesjoeawillisjoeawillisjohnjameshodginsjohnjameshodginsethancevansethancevansjonny_kcjonny_kc

Readme

Fabric Components

These are a set of Components for exclusive usage by The Economist Group. For documentation and migration guides visit here. A few bigger set of components are served via their own npm packages, you can find the fabric-carousel at https://github.com/EconomistDigitalSolutions/fabric-carousel

Table of Contents

How to Install

  • In your console run the following npm command.
    npm install @economist/fabric-components

Usage

A sample implementation would be:

import React from "react";
import HeadEcon from "@economist/fabric-components/header/headecon/HeadEcon";

const App = () => {
    return (
        <div>
            <HeadEcon />
        </div>
    );
};

export default App;

Contributing

Using the script

We have a handy script set up that you can use to create components. It can be invoked directly from the scripts folder or via npm

npm run new

The bash script will ask for category; if a category does not exist, it will create it for you. After you have a provided a category, bash will ask you to name the component, it will capitalise the first letter for you, see naming conventions below for more information. Once you provide it with component name, you will get three files, namely, "Component.jsx", "component.test.js", "component.md".

All new components should have prop-types, and atleast one test written. If a component has a lot of functionalities, make sure that they are tested as well. Finally, feel free to illustrate the usage of component and add in relevant information in the markdown file.

Manually creating components.

Feel free to create your components manually, though make sure to follow our naming conventions and directory conventions which are as follows :

Directory Conventions

  1. Place your component in appropriate category. Certain overly complex components such as the masthead etc. can get their own categories.
  2. Inside the category, create a directory with the component's name in lowercase.

Naming Conventions

  1. Make sure that the "component.jsx" is named exactly the same as what is being export from the javascript inside.
  2. Lowercase the markdown files so as to not conflict imports during tests.
  3. Tests are to be kept lowercase as well.

Once you have created your component, do make sure to add it to the relevant categories index.js as an export.


Issues

For Component suggestions, please look into Suggestions.

  1. Provide a complete yet concise title to issue.
  2. Try to list as much information as you can about the issue.
    1. Steps to reproduce the issue (wherever relevant)
    2. Current Configuration / Specs (in case of performance related issue)
    3. Please assign a label to the issue.
    4. If you can find any similar issues, if they cover everythign your issue does, please refrain from creating a new one, if not, make sure you link to that issue as well.

Suggestions

Follow the below mentioned guidelines for filing component suggestions.

  1. List the scope of suggestion.
  2. List how the suggested component can be of value and have a general application.
  3. List if you are willing to contribute and code the suggested component.
  4. If available, illustrate with an example.

Support

For further support in using, and any questions should be addressed to Aaditya Sahay