DEGJS is a collection of ES6 modules created and maintained by the DEG UI team. Our modules tend to be small, focused, and free of any third-party dependencies.

Module repositories, documentation, and demos live on Github. Additionally, DEGJS modules are pre-configured to be easily installed via NPM.

Jump to a module category:

Utility

  • domUtils

    v3.0.0

    A utility library for working with the DOM.

  • fetchUtils

    v3.0.2

    A utility library for using the Fetch API.

  • objectUtils

    v3.0.0

    A utility library for working with JavaScript objects.

  • sitecoreUtils

    v1.0.0

    A utility library for working with the Sitecore CMS.

  • urlUtils

    v3.0.1

    Utility functions for working with the browser URL.

Event

  • breakpoints

    v3.0.1

    Trigger CSS-based breakpoint events with JavaScript.

  • domEvent

    v2.0.0

    A Promise-based event utility.

  • eventAggregator

    v2.0.1

    Publish and subscribe to events across modules.

  • scrollTracker

    v1.0.0

    Tracks DOM elements in relation to the viewport as the page is scrolled

Animation

  • easing

    v2.0.1

    Javascript animation easing functions

  • numericycle

    v2.0.1

    An ES6 module for animating between two numbers

  • scrollTo

    v2.0.1

    Animated scrolling to an element or position

  • slipnslide

    v1.2.3

    Don't use a carousel. If you have to, this one's not awful.

Forms

  • formFieldAppender

    v2.0.1

    A module for adding and removing an infinite number of similar form fields to a form.

  • formMapper

    v4.1.0

    utility to get the values of form inputs

  • formValidation

    v3.1.1

    A modular, promise-based form validation plugin, free of third-party dependencies and built on top of native HTML5 validation.

  • formValidation-email

    v2.0.0

    An email rule for the DEGJS formValidation module.

  • formValidation-minMaxLength

    v2.0.1

    A minlength/maxlength rule for the DEGJS formValidation module.

  • formValidation-pattern

    v2.0.0

    A pattern rule for the DEGJS formValidation module.

  • formValidation-required

    v2.0.1

    A required field rule for the DEGJS formValidation module.

Miscellaneous

  • accordion

    v1.0.4

    An accordion plugin, written in ES6 syntax.

  • dialogLoader

    v3.0.1

    Registering dialog elements for cross-browser support

  • dragon-drop

    v3.5.1

    Accessible drag and drop list reorder module

  • hoverTable

    v1.0.0

    A plugin for highlighting table cells, columns and rows on hover.

  • lazy

    A lazy loader based on the IntersectionObserver API

  • linksToSelect

    v1.0.0

    Module for turning a list of links into a navigational select menu.

  • moduleLoader

    v5.1.1

    Asynchronously load JavaScript modules via an HTML attribute.

  • overlay

    v1.1.0

    A plugin that creates a page overlay.

  • passwordStrength

    v1.0.2

    A plugin for testing and displaying the strength of a password.

  • storybook-addon-taffy

    v1.0.4

    A responsive viewport addon for Storybook

  • storybook-decorator-react-to-html

    v1.0.0

    A Storybook for HTML decorator that converts a React component into a static HTML string

  • storybook-decorator-script-runner

    v2.0.0

    A Storybook for HTML decorator for running JavaScript on stories

  • storybook-decorator-sitecoreprops

    v1.0.4

    A Storybook decorator for normalizing Sitecore JSS props

  • tabs

    v1.0.1

    A tabs plugin, written in ES6 module syntax.

  • trapperKeeper

    v0.0.1

    A module for storing a basic web application's state.