Permalink
Commits on Nov 22, 2017
  1. alpha.16

    dantman committed Nov 22, 2017
  2. Fix and improve forwarding of measurement methods

    dantman committed Nov 22, 2017
    - Add missing forwarding to ripple components required for forwarding on higher level components to actually work
    - Reduce the forwarding boilerplate with a decorator util
  3. alpha.15

    dantman committed Nov 22, 2017
  4. Add measurement methods and props to some components

    dantman committed Nov 22, 2017
    - Add onLayout prop and measure, measureInWindow, measureLayout methods to various components
    - Fix ActionButton tests
Commits on Nov 21, 2017
  1. alpha.14

    dantman committed Nov 21, 2017
Commits on Nov 18, 2017
  1. Update tests

    dantman committed Nov 18, 2017
  2. Implement Action Buttons for the app bar

    dantman committed Nov 18, 2017
    Fixes part of #13
Commits on Oct 6, 2017
  1. Update react-native used in devDeps/tests

    dantman committed Oct 6, 2017
    Snapshots also need to be updated due to changes in how the test renderer outputs
  2. Update snapshots for Buttons

    dantman committed Oct 6, 2017
  3. Drop the accessibilityLabel attribute and update react-native minimum

    dantman committed Oct 6, 2017
    React Native fixed the bug causing button text to have two spaces after it in 0.46.
  4. Missing babel-core

    dantman committed Oct 6, 2017
Commits on Oct 5, 2017
  1. alpha.13

    dantman committed Oct 5, 2017
  2. Drop --fix and git add from lint-staged

    dantman committed Oct 5, 2017
    This `git add` behaviour appears to be undesirably forcing whole file additions when partial commits are made.
  3. Fix input text colors in TextField

    dantman committed Oct 5, 2017
    - Fix disabled text color
    - Fix input text color in dark themes
  4. Update examples to use withMaterialStyles

    dantman committed Oct 5, 2017
    Also make Colors make use of the contrast module.
    
    Also fixes small background issues that pop up when you change the theme from light to dark.
  5. Implement withMaterialStyles higher-order component

    dantman committed Oct 5, 2017
    - withMaterialStyles accepts a mapThemeToStyles function that is passed the materialTheme and should return style objects in the same format you pass to StyleSheet.create
    - The return of withMaterialStyles is a function that returns a HOC, ie: it can be used as a component decorator
    - The wrapped component is passed a materialStyles prop with the returned styles
    - The materialStyles are optimally shared between elements that of the same component that share their ThemeProvider and MaterialTheme
    - In the future if it becomes possible to unload styles (facebook/react-native#15899) withMaterialStyles will register these styles and unregister them when the ThemeProvider is unmounted or the materialTheme changes
Commits on Oct 4, 2017
Commits on Oct 3, 2017
Commits on Oct 2, 2017
  1. Fix lack of materialTheme prop when ThemeProvider isn't used

    dantman committed Oct 2, 2017
    This was broken when I moved defaultTheme from MaterialTheme to ThemeProvider.
Commits on Sep 28, 2017
  1. Rename `wcag` to `contrast` and make it an export

    dantman committed Sep 28, 2017
    Also adds a test to make sure the main script does not throw when required and exports the things we expect.
Commits on Sep 27, 2017
  1. alpha.12

    dantman committed Sep 27, 2017
  2. Update iOS build artifacts

    dantman committed Sep 27, 2017
  3. Fix dialog modal

    dantman committed Sep 27, 2017
    - Fix the orientation lock on modals applied to iOS by React Native
    - Fix modal so it moves out of the way of the keyboard on iOS
    - Use window dimensions instead of onLayout so to avoid the dialog shrinking when the keyboard is opened on Android
  4. alpha.11

    dantman committed Sep 27, 2017
Commits on Sep 26, 2017
  1. Fix test renderer

    dantman committed Sep 26, 2017
  2. Add travis and codecov

    dantman committed Sep 26, 2017
  3. Start adding tests

    dantman committed Sep 26, 2017
  4. Fix theme detection handling

    dantman committed Sep 26, 2017
    detectTheme returns the foreground/text theme not the background theme
    - appBar.theme should be the background theme, and statusBar styles should use the same theme instead of inverting to correct
    - Dialogs should use 'black' for the 'dark' theme because that is the text color theme