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

@alation-www/field-editors

v1.0.1

Published

React components and apps for building Contentful entry editor

Downloads

39

Readme

@contentful/field-editors

lerna

This is the monorepo for all field editors and apps by Contentful.

Since these are developed using the App SDK, this will allow you to understand how each editor works, fork existing apps or create your own apps based on existing Contentful components' source rather than starting from scratch.

It uses Typescript, React, Forma36 (a design system & component library by Contentful) and is managed using Lerna. Code is automatically formatted with Prettier and checked with ESLint on every commit using Git hooks.

Available field editors

Playground with all components: https://contentful-field-editors.netlify.app/

This repository has all editorial components that you can find in the Contentful Web application. You can run each of these component as a custom field app or compose them into a custom entry app. You could also use these components as the basis for a custom Contentful App

  • Single line editor
  • Multi line editor
  • Dropdown
  • Tags
  • List
  • Checkbox
  • Radio
  • Boolean
  • Rating
  • Number
  • Url
  • JSON
  • Location
  • Date
  • Markdown
  • Slug
  • Entry reference / Media
  • Rich Text

Also this repository contains shared packages that simplify development and testing of field and entry apps.

Feel free to reach out to us with the ones that'd be the most useful to have here by filing a Github issue!

Styles

To achieve the same field editor look as in the Contentful UI, you need to render GlobalStyled component.

import { GlobalStyles } from '@contentful/f36-components';

function Root() {
  return (
    <>
      <GlobalStyles />
      <MyApp />
    </>
  );
}

Getting started & contributing

Requirements

  • Node.js: >=18
  • Yarn: >=1.21.1

To install all dependencies and build all packages run the following commands from the root of the project.

yarn
yarn build

See CONTRIBUTING.md for more information on how to get started.

We'd love to have your helping hand on @contentful/field-editors!

Links & related repositories

Code of Conduct

We want to provide a safe, inclusive, welcoming, and harassment-free space and experience for all participants, regardless of gender identity and expression, sexual orientation, disability, physical appearance, socioeconomic status, body size, ethnicity, nationality, level of experience, age, religion (or lack thereof), or other identity markers.

Read our full Code of Conduct.

License

All field editor packages are open source software licensed as MIT.