@airbnb/lunar
React toolkit and design language for Airbnb open source and internal projects.
Last updated 3 days ago by milesj .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @airbnb/lunar 
SYNC missed versions from official npm registry.

Lunar

Provides core React building blocks that all other consuming packages are built around. This includes components, composers, themes, and more.

yarn add @airbnb/lunar

Setup

Initialize the core package to apply globalization and theme-related settings.

import Core from '@airbnb/lunar';

Core.initialize({
  defaultLocale: 'en',
  defaultTimezone: 'UTC',
  logger: logToSentry,
  name: 'AppName',
});

If defaultLocale and defaultTimezone are omitted, their values will be automatically detected from the user's browser settings.

You should call Core.initialize() before importing any component that leverages withStyles or useStyles for theme-related settings to take effect.

Current Tags

  • 3.25.0                                ...           latest (3 days ago)
  • 2.30.0-alpha.0                                ...           next (10 months ago)

207 Versions

  • 3.25.0                                ...           3 days ago
  • 3.24.0                                ...           8 days ago
  • 3.23.1                                ...           11 days ago
  • 3.23.0                                ...           15 days ago
  • 3.22.0                                ...           16 days ago
  • 3.21.1                                ...           17 days ago
  • 3.21.0                                ...           a month ago
  • 3.20.0                                ...           a month ago
  • 3.19.0                                ...           a month ago
  • 3.18.0                                ...           a month ago
  • 3.17.0                                ...           2 months ago
  • 3.16.0                                ...           3 months ago
  • 3.15.1                                ...           3 months ago
  • 3.15.0                                ...           3 months ago
  • 3.14.1                                ...           3 months ago
  • 3.14.0                                ...           3 months ago
  • 3.13.0                                ...           3 months ago
  • 3.12.1                                ...           3 months ago
  • 3.12.0                                ...           3 months ago
  • 3.11.0                                ...           4 months ago
  • 3.10.0                                ...           4 months ago
  • 3.9.0                                ...           4 months ago
  • 3.8.0                                ...           4 months ago
  • 3.7.0                                ...           4 months ago
  • 3.6.3                                ...           4 months ago
  • 3.6.2                                ...           4 months ago
  • 3.6.1                                ...           4 months ago
  • 3.6.0                                ...           4 months ago
  • 3.5.0                                ...           4 months ago
  • 3.4.6                                ...           4 months ago
  • 3.4.5                                ...           4 months ago
  • 3.4.4                                ...           5 months ago
  • 3.4.3                                ...           5 months ago
  • 3.4.2                                ...           5 months ago
  • 3.4.1                                ...           5 months ago
  • 3.4.0                                ...           5 months ago
  • 3.3.1                                ...           5 months ago
  • 3.3.0                                ...           5 months ago
  • 3.2.0                                ...           5 months ago
  • 3.1.1                                ...           5 months ago
  • 3.1.0                                ...           5 months ago
  • 3.0.1                                ...           5 months ago
  • 3.0.0                                ...           5 months ago
  • 2.64.2                                ...           5 months ago
  • 2.64.1                                ...           5 months ago
  • 2.64.0                                ...           6 months ago
  • 2.63.1                                ...           6 months ago
  • 2.63.0                                ...           6 months ago
  • 2.62.2                                ...           6 months ago
  • 2.62.1                                ...           6 months ago
  • 2.62.0                                ...           6 months ago
  • 2.61.0                                ...           6 months ago
  • 2.60.1                                ...           6 months ago
  • 2.60.0                                ...           6 months ago
  • 2.59.4                                ...           6 months ago
  • 2.59.3                                ...           6 months ago
  • 2.59.2                                ...           7 months ago
  • 2.59.1                                ...           7 months ago
  • 2.59.0                                ...           7 months ago
  • 2.58.1                                ...           7 months ago
  • 2.58.0                                ...           7 months ago
  • 2.57.0                                ...           7 months ago
  • 2.56.0                                ...           7 months ago
  • 2.55.0                                ...           7 months ago
  • 2.54.0                                ...           7 months ago
  • 2.53.3                                ...           7 months ago
  • 2.53.2                                ...           7 months ago
  • 2.53.1                                ...           7 months ago
  • 2.53.0                                ...           8 months ago
  • 2.52.2                                ...           8 months ago
  • 2.52.1                                ...           8 months ago
  • 2.52.0                                ...           8 months ago
  • 2.51.0                                ...           8 months ago
  • 2.50.0                                ...           8 months ago
  • 2.49.1                                ...           8 months ago
  • 2.49.0                                ...           8 months ago
  • 2.47.0                                ...           9 months ago
  • 2.46.0                                ...           9 months ago
  • 2.45.0                                ...           9 months ago
  • 2.44.0                                ...           9 months ago
  • 2.43.0                                ...           9 months ago
  • 2.42.0                                ...           9 months ago
  • 2.41.0                                ...           9 months ago
  • 2.40.2                                ...           9 months ago
  • 2.40.1                                ...           9 months ago
  • 2.40.0                                ...           9 months ago
  • 2.39.0                                ...           9 months ago
  • 2.38.2                                ...           9 months ago
  • 2.38.1                                ...           9 months ago
  • 2.38.0                                ...           9 months ago
  • 2.37.6                                ...           9 months ago
  • 2.37.5                                ...           9 months ago
  • 2.37.4                                ...           9 months ago
  • 2.37.3                                ...           10 months ago
  • 2.37.2                                ...           10 months ago
  • 2.37.1                                ...           10 months ago
  • 2.37.0                                ...           10 months ago
  • 2.36.0                                ...           10 months ago
  • 2.35.2                                ...           10 months ago
  • 2.35.1                                ...           10 months ago
  • 2.35.0                                ...           10 months ago
  • 2.34.0                                ...           10 months ago
  • 2.33.1                                ...           10 months ago
  • 2.33.0                                ...           10 months ago
  • 2.32.1                                ...           10 months ago
  • 2.32.0                                ...           10 months ago
  • 2.31.1                                ...           10 months ago
  • 2.31.0                                ...           10 months ago
  • 2.30.0                                ...           10 months ago
  • 2.30.0-alpha.1                                ...           10 months ago
  • 2.30.0-alpha.0                                ...           10 months ago
  • 2.29.3                                ...           10 months ago
  • 2.29.2                                ...           10 months ago
  • 2.29.1                                ...           a year ago
  • 2.29.0                                ...           a year ago
  • 2.28.0                                ...           a year ago
  • 2.27.4                                ...           a year ago
  • 2.27.3                                ...           a year ago
  • 2.27.2                                ...           a year ago
  • 2.27.1                                ...           a year ago
  • 2.27.0                                ...           a year ago
  • 2.26.1                                ...           a year ago
  • 2.26.0                                ...           a year ago
  • 2.25.0                                ...           a year ago
  • 2.24.0                                ...           a year ago
  • 2.23.0                                ...           a year ago
  • 2.22.0                                ...           a year ago
  • 2.21.0                                ...           a year ago
  • 2.20.0                                ...           a year ago
  • 2.19.0                                ...           a year ago
  • 2.18.1                                ...           a year ago
  • 2.18.0                                ...           a year ago
  • 2.17.0                                ...           a year ago
  • 2.16.0                                ...           a year ago
  • 2.15.6                                ...           a year ago
  • 2.15.5                                ...           a year ago
  • 2.15.4                                ...           a year ago
  • 2.15.3                                ...           a year ago
  • 2.15.2                                ...           a year ago
  • 2.15.1                                ...           a year ago
  • 2.15.0                                ...           a year ago
  • 2.14.1                                ...           a year ago
  • 2.14.0                                ...           a year ago
  • 2.13.4                                ...           a year ago
  • 2.13.3                                ...           a year ago
  • 2.13.2                                ...           a year ago
  • 2.13.1                                ...           a year ago
  • 2.13.0                                ...           a year ago
  • 2.12.1                                ...           a year ago
  • 2.12.0                                ...           a year ago
  • 2.11.0                                ...           a year ago
  • 2.10.0                                ...           a year ago
  • 2.9.0                                ...           a year ago
  • 2.8.2                                ...           a year ago
  • 2.8.1                                ...           a year ago
  • 2.8.0                                ...           a year ago
  • 2.7.0                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-rc.0                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 2.0.0-alpha.0                                ...           a year ago
  • 1.20.0                                ...           a year ago
  • 1.19.1                                ...           a year ago
  • 1.19.0                                ...           a year ago
  • 1.18.0                                ...           a year ago
  • 1.17.0                                ...           a year ago
  • 1.16.0                                ...           a year ago
  • 1.15.0                                ...           a year ago
  • 1.14.0                                ...           a year ago
  • 1.13.0                                ...           a year ago
  • 1.12.1                                ...           a year ago
  • 1.12.0                                ...           a year ago
  • 1.11.0                                ...           a year ago
  • 1.10.1                                ...           a year ago
  • 1.10.0                                ...           a year ago
  • 1.9.1                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.2                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-alpha.1                                ...           a year ago
  • 1.0.0-alpha.0                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |