JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q64871F
  • License ISC

Sourcemix widget

Package Exports

  • @ppci/source-mix

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ppci/source-mix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Source mix

A widget with a top list of source mixes.

Table of contents

  1. Installation
  2. Usage
  3. Theme | Styling
  4. Properties
  5. Changelog

Installation

NPM

  npm i @ppci/source-mix

Usage

Javascript

import '@ppci/source-mix'

Browser

<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/source-mix/builds/index.min.js" />

<source-mix>
</source-mix>

Theme | Styling

source-mix {
  --icon-font-family: 'icomoon';
  --icon-color: white;
  --icon-background-color: gray;

  --local-color: #32b4e9;
  --social-color: #ffa800;

  --icon-sun: '\\e9d4';
  --icon-wind: '\\e9c1';
  --icon-water: '\\e90b';
}

Properties

Property Type Description Possible Values
*category* String Category of the sourcemixes local | social
*limit* Number Max amount of source mixes in the list local | social
deleteMode Boolean Toggle delete mode of the entire list

Changelog

1.5.0

  • Read authorization token from storage

1.4.0

  • Adhere to new global style variables

1.3.4 | 1.3.5

  • Bundle and minify related fixes

1.3.2

  • Sortable list not rendering fix

1.3.1

  • shimmer height style fix

1.3.0

  • allow dynamic categories

1.2.5

  • Cache fix

1.2.4

  • Listen to device id changes

1.2.2 | 1.2.3

  • package dependency fixes

1.2.1

  • Minor bug fixes

1.2.0

  • Add source to source mix function

1.1.0

  • Use new sourcemix api

1.0.0

  • Initial version source mix widget