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

ds-living-styleguide

v1.2.6

Published

Living Styleguide serves as a styleguide and component library for doubleSlash

Downloads

1,061

Readme

Living Styleguide

This library provides components, colors and fonts according to the doubleslash style. The components are created by using storybook, angular and bootstrap.

A detailed documentation can be found here: https://doubleslash.style

Milestones

Version 1.2.6

  • Add Status Indicator Component

Version 1.2.5

  • Add autocomplete to input field and textarea
  • Add password option to input field
  • Unify spacings of components notifications, icon, textarea, user-profile, alert, cookie banner, dialog, footer
  • UI improvement for the sidebar component
  • Add Component Loading Indicator
  • Add Loading Indicator for List, Table and Button

Version 1.2.4

  • Hotfix missing webcomponents

Version 1.2.3

  • Change hover effects on Split Button Component
  • Change subButton card layout on Split Button Component

Version 1.2.2

  • Add Split Button Component

Version 1.2.1

  • Fix Dropdown label not taking full width

Version 1.2.0

  • Add Table Component
  • Fix double delete x in Search Component

Version 1.1.14

  • Remove box-shadow on hover for sencondary Icon Button

Version 1.1.13

  • Fix Switch Component

Version 1.1.11

  • Fix build

Version 1.1.10

  • Add User Profile Component
  • Bugfix remove link box on mouse use

Version 1.1.9

  • Bugfix outputevent fileupload

Version 1.1.8

  • Bugfix disabled link underline color
  • Add Tertiary Button style

Version 1.1.7

  • Bugfix Dropdown lazy loading with search criterias

Version 1.1.6

  • Bugfix Textarea min height

Version 1.1.5

  • Bugfix Textarea Input binding

Version 1.1.4

  • Bugfix Textarea

Version 1.1.3

  • Autoheight option for Textareas

Version 1.1.2

  • Tooltip for Fileupload Molecule

Version 1.1.1

  • Textarea Scrollbar Fix

Version 1.1

  • Copy-Field Molecule ✅
  • Error Page Molecule ✅
  • Accordions Molecule ✅
  • Icons ✅

Version 1.0.29

  • Dropdown Lazy Loading

Version 1.0.28

  • Textarea Height-Option added
  • Dropdown Bugfixes
  • Switch Secondary Design added
  • Buttons Scale Option added

Version 1.0.26

  • Bugfix Button

Version 1.0.25

  • Bugfix Dropdown

Version 1.0.24

  • Bugfixes
  • Tooltip Options added ✅

Version 1.0.21

  • Bugfixes

Version 1.0.20

  • Bugfixes

Version 1.0.19

  • Tooltip Atom ✅
  • Searchfield in Dropdown Molecule ✅

Version 1.0.17

  • Drag & Drop / Upload Molecule ✅

Version 1.0.16

  • Darkmode Colors ✅

Version 1.0.14

  • Fontsets: 2 Sets with different sizes for Webapps ✅

Version 1.0.13

  • Inputfield - Max, Min & Step & Required Inputs ✅

Version 1.0.11

  • Event Binding: changed names to avoid conflicts

Version 1.9

Atoms

  • Input fields with max, min and step

Molecules

  • Implementation of multiselect & resettable Dropdowns

Version 1.7

  • Release of new clickcolor ($ds-clickable: #00759e) to ensure a11y
  • New Category: Styles ✅

Styles

  • Color Palette update ✅
  • Elevations ✅
  • doubleSlash Icon Collection
  • Typography & List

Version 1.0

  • Migration to WebComponets

Atoms

  • Buttons
  • Checkboxes and Parent Checkbox, Radio Button
  • Images
  • Input Fields & Textareas
  • Jumpmarks & Scrollbars
  • Linkbox & Links, Infobox

Molecules

  • Dropdown
  • Switch

Organisms

  • Alert, - Dialog
  • Cookie Banner
  • Footer

Styles

  • Color Palette
  • doubleSlash Icon Collection
  • Typography & Lists

Web-Components

Utilize web components, including buttons, checkboxes, and many other elements, in your web applications.

Installation

`npm install ds-living-styleguide`

Import web-component.js and styles.scss in angular.json:

"assets": [
  "src/favicon.ico",
  "src/assets",
  {
    "glob": "**/*",
    "input": "node_modules/ds-living-styleguide/assets",
    "output": "assets"
  }
],
"styles": [
  "node_modules/ds-living-styleguide/styles/styles.scss",
  "node_modules/ds-living-styleguide/styles/fontset-standard.scss",
  "src/styles.scss"
],
"scripts": [
  "node_modules/ds-living-styleguide/lib/web-components.js"
]

To use fonts, import them from node_modules into your styles.scss:

`@font-face {
  font-family: 'Inter';
  src:
    url('../node_modules/ds-living-styleguide/assets/fonts/Inter-Regular.ttf') format('truetype'),
    url('../node_modules/ds-living-styleguide/assets/fonts/Inter-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src:
    url('../node_modules/ds-living-styleguide/assets/fonts/Inter-SemiBold.ttf') format('truetype'),
    url('../node_modules/ds-living-styleguide/assets/fonts/Inter-SemiBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}`

To use webcomponents import:

`schemas: [CUSTOM_ELEMENTS_SCHEMA]`

Example implementation of button as webcomponent:

<web-ds-button (buttonClicked)="yourMethod()" type="primary">Button