1.0.13 • Published 25 days ago

ds-living-styleguide v1.0.13

Weekly downloads
-
License
doubleSlash Net-B...
Repository
-
Last release
25 days ago

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.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",
  "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

1.0.13

25 days ago

1.0.12

1 month ago

1.0.11

1 month ago

1.0.10

1 month ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.3.6

3 months ago

0.3.5

3 months ago

0.3.4

3 months ago

0.3.3

3 months ago

0.3.2

3 months ago

0.3.1

3 months ago

0.3.0

3 months ago

0.2.7

4 months ago

0.2.9

4 months ago

0.2.8

4 months ago

0.2.6

4 months ago

0.2.5

5 months ago

0.2.3

5 months ago

0.2.2

5 months ago

0.2.4

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.1.0

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.8

6 months ago

0.1.7

6 months ago

0.1.9

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.0.9

7 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

10 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago