Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@superset-ui/color

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superset-ui/color - npm Package Versions

123

0.10.1

Diff

Changelog

Source

v0.10.1

💔 BREAKING CHANGE

  • @superset-ui/core becomes peer dependency

🛠️ Internal

  • refactor: make @superset-ui/core peer dependency (#111) (e9c7b91), closes #111
  • chore: add commitlint and commitizen config (cae32ce)
  • docs: update changelog (4d70053)
kristw
published 0.10.0 •

Changelog

Source

v0.10.0

💔 BREAKING CHANGES

  • Rename FormData to ChartFormData to avoid naming collision with native JS (#100)
  • Rename constants in NumberFormats changing _CHANGE to _SIGNED.
  • Default number format is now SMART_NUMBER instead of D3 .3~s.

✨ Features

  • Add SMART_NUMBER formatter and make it default (#109)
  • Enable warnings when values are overwritten in registries (#107)

🛠️ Internal

  • Migrate plugin-chart-word-cloud to @superset-ui-plugins repo.
kristw
published 0.9.5 •

Changelog

Source

v0.9.5

🛠️ Internal

  • Remove unnecessary export types and remove warning when using esm output in target application.
kristw
published 0.9.3 •

Changelog

Source

v0.9.3

✨ Features

  • Add new package @superset-ui/dimension
  • Add new package @superset-ui/plugin-chart-word-cloud

🛠️ Internal

  • Minor update and additional unit tests for generator
kristw
published 0.9.0 •

Changelog

Source

v0.9.0

✨ Features

  • Add useLegacyApi field to ChartMetadata. This flag will help us determine whether to use the new /api/v1/query endpoint or the legacy one.
  • Add two generics to Registry<V, W>
    • V is type of value in the registry
    • W is type of value returned from loader function when using .registerLoader(key, loader).
    • W can be either V, Promise<V> or V | Promise<V>
    • Set W=V when does not support asynchronous loader. Making return type of .get() become V instead of Promise<V>
    • By default, W is set to V | Promise<V> to support both synchronous and asynchronous loaders.
  • Include and link TypeScript declaration for package jed with @superset-ui/translation distribution.

🛠️ Internal

  • Convert @superset-ui/number-format to TypeScript
  • Convert @superset-ui/time-format to TypeScript
  • Convert @superset-ui/translation to TypeScript

💔 BREAKING CHANGES

  • Make number formatter always returns string. This is different from previous behavior.

|Value|formatted value (before)|formatted value (after)| |------------|------------|-----------| | null | null | 'null' | | undefined | undefined | 'undefined' | | NaN | NaN | 'NaN' |

  • Make time formatter always returns string. This is different from previous behavior.

|Value|formatted value (before)|formatted value (after)| |------------|------------|-----------| | null | null | 'null' | | undefined | undefined | 'undefined' | | NaN | NaN | 'NaN' |

soboko
published 0.8.0 •

Changelog

Source

v0.8.0

✨ Features

  • Add SuperChart and convert to TypeScript
  • Allow metrics arrays in form data
  • Moved query module from incubator-superset into superset-ui
  • Add reactify function from incubator-superset

🐞 Bug fixes

  • Handle BigNumber conversions to/from JSON without loss of precision

🛠️ Internal

  • Use DefinitelyTyped's fetch-mock type def
  • Improved type def for json-bigint
  • Migrated @superset-ui/chart to TypeScript
  • Migrated @superset-ui/color to TypeScript
  • Migrated @superset-ui/core to TypeScript
  • Made connection and color packages peer dependencies
kristw
published 0.7.0 •

Changelog

Source

v0.7.0

✨ Features

  • Add @superset-ui/time-format package
  • Add @superset-ui/number-format package
  • Use the recently added ExtensibleFunction to make an instance of CategoricalColorScale be a function
  • Add overwritePolicy for Registry so developer can customize whether overwriting is ALLOW, WARN or PROHIBIT.

🐞 Bug fixes

  • Transform input value before setting color.

🛠️ Internal

  • Rewrite @superset-ui/connection in TypeScript

💔 BREAKING CHANGES

  • Remove categoricalColorScale.toFunction(). Now categoricalColorScale itself is already a function.
  • The color scales no longer convert input to lowercase before finding color.
  • Rename ColorScheme field name to id.
  • Change Registry constructor API to take object instead of single string name.

kristw
published 0.6.0 •

Changelog

Source

v0.6.0

✨ Features

  • Add @superset-ui/generator-superset
  • Add RegistryWithDefaultKey and ExtensibleFunction to @superset-ui/core

💔 BREAKING CHANGES

  • getDefaultSchemeName() and setDefaultSchemeName() are renamed to getDefaultKey() and setDefaultKey()

kristw
published 0.5.0 •

Changelog

Source

v0.5.0

✨ Features

  • Add @superset-ui/chart

🐞 Bug fixes

  • Use simple js to create range

kristw
published 0.4.0 •

Changelog

Source

v0.4.0

✨ Features

  • Add @superset-ui/color for color management

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc