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

dv-olympe

v1.0.3-15

Published

Modules et éléments nécessaires à la création d'une instance d'interface administrateur Olympe.

Downloads

36

Readme

Olympe Interface

L'Interface Olympe est une librairire contenenant des modules, fonctions et ressources nécessaires à la création d'une instance d'Interface administrateur.

Installation

Le paquet est disponible sur NPM au nom de dv-olympe. Procéder comme suit pour l'utiliser :

  cd my-project
  npm install dv-olympe

Exemple d'utilisation

import { Olympe } from 'dv-olympe';

function App() {
  return <Olympe.Loader />;
} // Print Logo loader

function App() {
  return (
    <p style={{ color: Olympe.Color.primary}}>
      Hello World
    </p>)
  ;
} // Get color from Olympe

Modifier Olympe

Pour modifier le code source :

  • Cloner le repo
  • Executer les commandes
  npm install --save-dev @babel/core @babel/cli @babel/preset-env
  npm install -save @babel/polyfill   

🛠 Skills

Javascript, HTML, React, ES6...

Authors

Documentation

Accessible depuis Olympe : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | Color | - | Liste des couleurs principales et logo. | | Interface | MainContext, ListItem | Principale interface. | | Wrapper | horizontal, centered | Conteneur de type page. | | SubItem | - | Item à insérer dans un Wrapper. | | LoginPage | - | Page de connexion. | | Fade | - | Composant animé d'une fondue. | | Chart | title, subtitle, chart, chartTitle, chartLegend, large | Conteneur de type item pour un graphique. | | GlobalStyles | - | Styles par défaut, à mettre au début du programme. | | ErrorPage | e.status, e.statusText | Page d'erreur, e est l'erreur. | | Tooltips | title, placement, notSpan, classes | Tooltips customisé. | | Item | - | Item par défaut | | ItemTitle | - | Titre de type h2 pour item. | | ItemChart | - | Item pour un graphique. | | ItemFullWidth | - | Item qui prend toute la largeur de son parent. | | ItemWithAvatar | - | Item avec une image sur la partie droite. | | Loader | text, show | Chargement avec Logo. | | MiniLoader | - | Petit chargement en rond. | | WrapPdf | - | Conteneur pour afficher un PDF (plus grand). | | Modal | title, content, loading, buttons, verifTxt, open, onClose, closeOnDocumentClick| Composant modal. |

Accessible depuis Olympe.List : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | Table | id, name, tableTitle, buttonLabel, buttonIcon, loading, colums, datas, handleSearch, search, placeholder, onClickRow, onClickBtn, sortAsc, sortId, forceButton | Composant table avec tableau. | | Menu | label, handleSearch, search, placeholder, content, uri, children, btnFct, btnIcon, btnTitle | Composant table avec liste. |

Accessible depuis Olympe.Table : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | Wrap | - | Styles customisés pour un react-data-table-component | | Empty | - | Styles customisés pour un tableau vide. | | Style | - | Styles customisés pour le thème d'un tableau. | | Pagination | - | Composant personnalisé pour la pagination des tableaux. | | Theme | - | Thème customisé pour un tableau.|

Accessible depuis Olympe.Input : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | Text | - | Champ de type text basic | | FormFile | - | Wrapper pour Olympe.Input.File. | | File | - | Champ de type text pour un formulaire de fichier. |

Accessible depuis Olympe.Button : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | Basic | toExecute, label, icon, anim, type | Bouton de base. | | FilePick | - | Styles customisés pour un champ de type file. | | FileUpload | - | Styles customisés pour un champ de type file non vide. | | FileCancel | - | Styles customisés pour l'annulation d'un fichier. |

Accessible depuis Olympe.Utils : | Name | Paramètres| Description | | ----------------- | --|------------------------------------------------------------------ | | renderHTML | rawHTML, classes | HTML code vers React, avec classes personnalisées. | | appHeight | - | Retourne la hauteur de l'écran. | | numberShorter | number | Transforme un nombre : 1000 => 1k | stringUpper | str | Retourne la chaine avec le premier caractère en majuscules. | | SentLogTime | lastSeenString, short | Retourne une durée depuis une date. | | AvatarSvg | seed | Retourne un avatar depuis une chaîne de caractères. | | AvatarSvgHtml | seed | Retourne un avatar dans un élément HTML depuis une chaîne de caractères. | | truncStr | str, len | Coupe une chaîne de caractère dans la longueur précisée. | | getFileSize | bytes | Retourne une chaîne de caractères depuis un nombre de bytes. | | enterInput | e | Arrête la propagation de la touche Entrer. | | downloadCSV | datas, filename | Transforme un tableau en fichier CSV. | | useWindowSize | - | Capture le changement de taille de fenêtre. |