Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components: Add Card Component #17963

Merged
merged 47 commits into from
Nov 13, 2019
Merged

Commits on Oct 11, 2019

  1. Configuration menu
    Copy the full SHA
    ce0a22a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    643d02f View commit details
    Browse the repository at this point in the history
  3. Implement Storybook knobs addon

    Jon Q committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    c867811 View commit details
    Browse the repository at this point in the history
  4. Add color utilities

    This update enables JS to use the color hex codes defined in Sass.
    The hex codes are copied and stored as constants (objects).
    The key/value pairs are accessed through a convenient custom getter function.
    Jon Q committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    93be05a View commit details
    Browse the repository at this point in the history
  5. Create Card component + sub components, and add initial stories

    This update adds the new Card component with it's various sub-components.
    A set of stories (Storybook) were added for the Card and it's sub-components
    for UI development.
    Jon Q committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    90a1bcf View commit details
    Browse the repository at this point in the history
  6. Export the new Card component

    Jon Q committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    66a869a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    20fcdfd View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Refactor Card components + sub-components, and add tests

    This update refactors the import/export method of the Card components
    to follow current conventions, which allows for better code splitting and
    tree shaking.
    
    Unit tests were added for the Card components, as well as tests for how
    the sub-components integrate with the primary Card.
    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    3963db1 View commit details
    Browse the repository at this point in the history
  2. Fix typos in card test

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    329218b View commit details
    Browse the repository at this point in the history
  3. Refactor Card stories

    And fix border style rendering for Header and Footer
    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    45a1f31 View commit details
    Browse the repository at this point in the history
  4. Add Card Header to export

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    504169f View commit details
    Browse the repository at this point in the history
  5. Add README content for Card component

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    6324887 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    084a1e2 View commit details
    Browse the repository at this point in the history
  7. Update Card README for context overrides

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    e93de65 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into add/card-component

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    05f27c1 View commit details
    Browse the repository at this point in the history
  9. Remove unused fragment from Card stories

    Jon Q committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    7441e2e View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    0ec36f1 View commit details
    Browse the repository at this point in the history
  2. Update size prop values for Card components

    Changed values like `sm` and `md` to `small` and `medium`.
    Jon Q committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    96ff8bd View commit details
    Browse the repository at this point in the history
  3. Fix typo for Card docs

    From `contet` -> `context`.
    Jon Q committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    4534ed4 View commit details
    Browse the repository at this point in the history
  4. Fix size values in storybook knob props

    Jon Q committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    efe6ea8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ebe575 View commit details
    Browse the repository at this point in the history
  6. Remove duplicate addDecorator withKnobs

    Occurred during a merge with `master`
    Jon Q committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    bfde122 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    1d24ec9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8bd44f View commit details
    Browse the repository at this point in the history
  3. Change hex-rgb dependency from 4.1.0 to ^4.1.0

    Jon Q committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    9876eba View commit details
    Browse the repository at this point in the history
  4. Revert "Change hex-rgb dependency from 4.1.0 to ^4.1.0"

    This reverts commit 9876eba.
    Jon Q committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    468097e View commit details
    Browse the repository at this point in the history
  5. Change hex-rgb dependency from 4.1.0 to ^4.1.0

    Jon Q committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    7df0507 View commit details
    Browse the repository at this point in the history
  6. Rename __utils.js file to _utils.js

    Jon Q committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    3378c86 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    599324e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    287b48e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1fe7528 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    af39009 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23fbe54 View commit details
    Browse the repository at this point in the history
  3. Use HorizontalRule primitive in CardDivider

    Jon Q committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    32ae38a View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    3e596fd View commit details
    Browse the repository at this point in the history
  2. Update Card component API

    Refactor `variant` into `isBorderless` and `isElevation` for the main
    `Card` component as well as it's sub-components.
    
    Update code, README, tests, and stories to reflect the changes.
    Jon Q committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    9d26f28 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Oct 28, 2019
    Configuration menu
    Copy the full SHA
    0cca7bc View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    b9f852d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    4ae4dcb View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Merge branch 'master' into add/card-component

    Jon Q committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    344e8b0 View commit details
    Browse the repository at this point in the history
  2. Replace styled-components with emotion

    Based on experience and further research, it appears that Emotion may be
    a better fit for the needs of @wordpress/components. Specifically being
    a dependency of the project with reduced chances of integration conflict
    with other libraries and projects.
    Jon Q committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    bb54a62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f40a890 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca8aad4 View commit details
    Browse the repository at this point in the history
  5. Update dependencies in package-lock.json

    Jon Q committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    8559de5 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into add/card-component

    Jon Q committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    ca80cd2 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2019

  1. Fixed babelrc

    Removed the local babelrc from components.
    Added babel-emotion to global storybook/.babelrc
    Jon Q committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    66b4421 View commit details
    Browse the repository at this point in the history
  2. Fix whitespacing (use tabs) for babelrc

    Jon Q committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    dbe16a2 View commit details
    Browse the repository at this point in the history