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

mineral-ui

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mineral-ui - npm Package Versions

1
7

0.33.0

Diff

Changelog

Source

0.33.0 (2018-05-10)

Features

  • mineral-ui-tokens: Generate files useful to themes (fe6a8b3)
  • themes: Generate values from color options (37555c9)

BREAKING CHANGES

  • themes: Change createTheme signature. Replace baseColor and overrides parameters with an options object, containing colors (baseColor is now colors.theme) and overrides. See the new documentation for details. Rename color_primary theme variable to color_themePrimary for consistency with other variable names
  • mineral-ui-tokens: color_primary ($mnrl-color-primary, in Sass) token renamed to color_themePrimary ($mnrl-color-themePrimary)

<a name="0.32.0"></a>

kylegach
published 0.33.0-alpha.0 •

brentertz
published 0.32.0 •

Changelog

Source

0.32.0 (2018-05-07)

Bug Fixes

  • styles: add tests and fix behavior of pxToEm (19d6988)

Code Refactoring

  • mineral-ui-tokens: Misc updates (bd85bbe)

Features

  • themes: Expose withTheme higher order component (b6ec40a)

BREAKING CHANGES

  • styles: Only transform numbers or strings in px units. All other input errors.
  • mineral-ui-tokens: Fix incorrect sass variable name format

<a name="0.31.0"></a>

kylegach
published 0.31.0 •

Changelog

Source

0.31.0 (2018-05-02)

Bug Fixes

  • themes: Correct import of colorAliases in themeFromTokens (03a24dd)

<a name="0.30.0"></a>

kylegach
published 0.30.0 •

Changelog

Source

0.30.0 (2018-05-01)

Code Refactoring

  • colors: Remove export and source files (f2d0ec3)
  • themes: Consume tokens (a466dfa)

Features

  • mineral-ui-tokens: Add source tokens, build scripts, and generated files (31c8949)
  • select,dropdown,popover,menu,menuitem: Add support for render props (48ea509)

BREAKING CHANGES

  • select,dropdown,popover,menu,menuitem: Select, Dropdown, Menu - no longer support ‘item.render’ in data. Use ‘item’ prop instead.
  • themes: Rename placeholder_color theme variable to input_color_placeholder; append px to breakpoint_[width] and fontSize_base values (change type from number to string) to clarify units
  • colors: Remove all colors exports from mineral-ui. Instead, consumers can import { palette } from 'mineral-ui-tokens'. Additionally, color ramps available from that package are sparse arrays, rather than objects, e.g. what was blue.blue_60 is now accessed as blue[60].

<a name="0.29.0"></a>

kylegach
published 0.29.0 •

Changelog

Source

0.29.0 (2018-04-20)

Features

  • grid: Add Grid & GridItem components (1df8d6d)

<a name="0.28.0"></a>

kylegach
published 0.28.0 •

Changelog

Source

0.28.0 (2018-04-17)

Bug Fixes

<a name="0.27.0"></a>

kylegach
published 0.27.0 •

Changelog

Source

0.27.0 (2018-04-13)

Bug Fixes

  • button: filter the element prop from being passed down (74a3869)

Code Refactoring

  • avatar: Remove palette colors from background & color props (98f06ef)
  • button: Update base theme variables; add & rename theme variables (f372cd3)
  • checkbox,radio: Update base theme vars; rename theme variables (17cf051)
  • colors: Update palette to ensure a11y contrast; add bronze (063a7d6)
  • form: Update base theme variables; rename theme variables (d7ab5d6)
  • icon: Change from predetermined fill color to 'currentcolor' (c025815)
  • menu: Update base theme variables; rename theme variables (3d264bf)
  • select,text-area,text-input: Update base theme vars; rename some (f4dfdff)
  • themes: Update theme variables (884c458)

BREAKING CHANGES

  • select,text-area,text-input: (Detailed here) Rename theme variables: Select_color_text to Select_color (also applies to TextArea & TextInput), SelectIcon_fill to SelectIcon_color (also applies to TextInput)
  • menu: (Detailed here) Rename theme variables: MenuItem_color_text to MenuItem_color, MenuItemIcon_fill to MenuItemIcon_color, MenuItemSecondaryText_color_text to MenuItemSecondaryText_color
  • form: (Detailed here) Rename theme variables: FormFieldCaption_color_text to FormFieldCaption_color, FormFieldLabel_color_text to FormFieldLabel_color, FormFieldSecondaryText_color_text to FormFieldSecondaryText_color, FormFieldSecondaryText_color_text_required to FormFieldSecondaryText_color_required, FormFieldsetLegend_color_text to FormFieldsetLegend_color
  • checkbox,radio: (Detailed here) Rename theme variable CheckboxText_color_text to CheckboxText_color (same applies to Radio)
  • button: (Detailed here) Remove theme variable Button_borderColor_focus; rename theme variables: Button_color_text to Button_color, Button_color_text_minimal to Button_color_minimal, Button_color_text_primary to Button_color_primary
  • avatar: Remove palette colors (e.g. 'red', 'purple') from background and color prop types. Instead, import colors and reference from there (e.g. colors.red_60).
  • icon: Icon now uses 'currentcolor' for its default fill color, rather than theme.color_gray_60
  • themes: (Detailed here) Remove color_caption, backgroundColor_link_focus; rename: backgroundColor_disabled to backgroundColor_input_disabled, backgroundColor_input to input_backgroundColor, backgroundColor_[variant]_muted to well_backgroundColor_[variant], backgroundColor_[variant]_activeMuted to backgroundColor_[variant]_active, backgroundColor_[variant]_[state] to backgroundColor_[variant]Primary_[state], borderColor_[state] to borderColor_theme_[state], borderColor_[variant]_muted to well_borderColor_[variant], color_h[#] to h[#]_color, color_placeholder to placeholder_color, color_text to color, color_text_disabled to color_disabled, color_text_primary_[state] to color_theme_[state], color_text_onprimary to color_primary, color_text_[variant]_[state] to color_[variant]_[state], fontSize_h[#] to h[#]_fontSize, fontWeight_h[#] to h[#]_fontWeight, shadow_[#] to boxShadow_[#]
  • colors: Remove lime, orange, and yellow

<a name="0.26.0"></a>

kylegach
published 0.26.0 •

Changelog

Source

0.26.0 (2018-04-06)

<a name="0.25.0"></a>

kylegach
published 0.25.0 •

Changelog

Source

0.25.0 (2018-04-04)

Bug Fixes

  • card: Include missing subcomponent exports (6f35546)

<a name="0.24.0"></a>

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