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

fxgcomponents_gafer002

v2.2.1

Published

Une librairie des composantes react

Downloads

25

Readme

LIBRAIRIE NPM DE COMPOSANTES REACT

N|Solid

Travail projet 1, presenté par Anna Ferjani

La bibliothèque de composantes web réutilisable comprend les composantes suivantes:

  • AntInputSite
  • AntTimeline
  • BSAlert
  • BSTable
  • MuiAvatarGroup

  

✅ AntInputSite

Description

Permet de créer un élément input pour saisir l'adresse d'un site Web, avec la possibilité d'ajouter des addons au début et à la fin d'un input

Dépendances

Usage

import { AntInputSite } from 'components/AntInputSite';

const placeholder = "Your site web";
const beforeArray = ['http', 'https'];
const afterArray = ['com', 'org', 'net'];

<AntInputSite  
    placeholder={placeholder}
    beforeArray={beforeArray}
    afterArray={afterArray}
/>

Propriétés

| Nom | Type | | --- | --- | | placeholder | string | | beforeArray | array | | afterArray | array| | beforeString | string | | afterString | string |

✅ AntTimeline

Description

Permet de créer des timelines automatiquement, à partir d'un tableau, passé en tant qu'un paramètre

Dépendances

Usage

import { AntTimeline } from 'components/AntTimeline';

var items = [];

items.push({date: '2022-11-01', text:'Create a services'});
items.push({date: '2022-11-03', text: 'Solve initial network problems'});
items.push({date: '2022-11-07', text: 'Technical testing'});

<AntTimeline mode="left" items={items}/>

Propriétés

| Nom | Type | | --- | --- | | mode | 'left' | 'right' | 'alternate' | | items | array |

✅ BSAlert

Description

Permet de créer des messages de rétroaction contextuels pour les actions typiques de l'utilisateur avec la possibilité d'ajouter des bootstrap icons dans ces messages

Dépendances

Usage

import { BSAlert } from 'components/BSAlert';


const heading = "This is an alert's header";
const alertBody = "This is an alert — check it out!";

<BSAlert  
    variant="danger" 
    alertBody={alertBody}
    heading={heading}
    icon="dash"
/>

Propriétés

| Nom | Type | | --- | --- | | variant | 'danger' | 'success' | 'warning' | | alertBody | string | | heading | string | icon | 'dash' | 'check' | 'exclamation' |

✅ BSTable

Description

Permet de créer un table bootstrap à partir des tableaux, passés en tant que des paramètres

Dépendances

Usage

import { BSTable } from 'components/BSTable';

var headers = ['First name', 'Last name', 'email'];
var content = [['John', 'Tremblay', '[email protected]'],
            ['Gilles', 'Duquerroy', '[email protected]'],
            ['Pierre-Luc', 'Dubé', '[email protected]']];

<BSTable headers={headers} content={content} striped='true'/>

Propriétés

| Nom | Type | | --- | --- | | headers | array | | content | array | | stripes | boolean | | bordered | boolean | | hover | boolean | | variant | "dark" |

✅ MuiAvatarGroup

Description

Permet de créer un groupe des avatars à partir d'un tableau avec des liens des images

Dépendances

Usage

import { MuiAvatarGroup } from 'components/MuiAvatarGroup';

var img = [];

for(let i = 1; i <=5; i++)
    img.push(`assets/img/${i}.jpg`);

<MuiAvatarGroup images={img} max={img.length} spacing={medium}/>

Propriétés

| Nom | Type | | --- | --- | | max | number | | total | number | | images | array | spacing | 'medium' | 'small' | number |

🚀 - Démarrer storybook

npm run storybook

📝 License

MIT Free Software