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

[FEATURE] CSS-in-JS via emotion, initial release #4511

Merged
merged 74 commits into from
Aug 26, 2021
Merged

Commits on Feb 16, 2021

  1. Configuration menu
    Copy the full SHA
    8a1787e View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. Configuration menu
    Copy the full SHA
    a0a8b42 View commit details
    Browse the repository at this point in the history
  2. [CSS-in-JS] Context and foundation (#4440)

    * poc
    
    * tidy
    
    * proxy set handler
    
    * default theme; docs setup
    
    * table colors via css-in-js
    
    * exports
    
    * withEuiTheme; useEuiTheme return shape; some types
    
    * export and proxy fixes
    
    * use without provider; some test setup
    
    * prevent unnecessary updates
    
    * refactor colorMode calc; move computation to provider
    
    * utils refactor
    
    * clean up
    
    * compute default theme for initial context value
    
    * snapshot update preview
    
    * axe ignore temporary docs page
    
    * theme: colorVis and borders, sizes update
    
    * coupled types
    
    * some utils tests
    
    * start to amsterdam; name in theme obj
    
    * Revert "table colors via css-in-js"
    
    This reverts commit 5614b0f.
    
    * eslintrc
    
    * readme
    
    Co-authored-by: cchaos <caroline.horn@elastic.co>
    thompsongl and cchaos committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    156f7fe View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. [CSS-in-JS] Support extensions via overrides prop (#4547)

    * allow custom properties via overrides; type clean up
    
    * add some tests
    
    * update canopy
    
    * overrides -> modify
    
    * clean up
    
    * Update src/services/theme/README.md
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    
    * update readme
    
    * Update src/components/common.ts
    
    Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
    3 people committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    90740eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51604d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9074437 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Configuration menu
    Copy the full SHA
    984cd48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b2f77b View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. [CSS-in-JS] useEuiTheme & withEuiTheme refactor (#4594)

    * convert useEuiTheme to return object; refactor withEuiTheme types
    
    * readme update
    
    * update docs
    
    * Quick update to the docs
    
    Co-authored-by: cchaos <caroline.horn@elastic.co>
    thompsongl and cchaos committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    0e82dac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a35553 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. [CSS-in-JS] Sizes with units (#4578)

    * convert numbers to strings with units
    
    * docs
    
    * fewer calc()
    
    * Updating consuming example to show `calc()`
    
    Co-authored-by: cchaos <caroline.horn@elastic.co>
    thompsongl and cchaos committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    64cfcd3 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Configuration menu
    Copy the full SHA
    113935e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af55700 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Configuration menu
    Copy the full SHA
    15f4509 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Configuration menu
    Copy the full SHA
    2383760 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. [Docs] Rebrand (#4727)

    * Adding new logo and new hero illustration
    
    * Adding Figma community file for Amsterdam
    
    * Replacing favicon
    
    * Adding elastic logo and link into the footer
    
    * Adding react helmet. Favicons for dev and prod.
    
    * social media thumbnail
    
    * Social media tags
    
    * Footer elastic logo
    
    * Moving react-helmet to devDependencies
    
    * Reconciling meta tags
    
    * Adding title and description meta tags into index.html
    miukimiu authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    3f39e78 View commit details
    Browse the repository at this point in the history
  2. [Docs] [EuiStat] Incorrect reference to size property in example, s…

    …hould be `titleSize` (#4742). (#4743)
    
    * [Docs] [EuiStat] Incorrect reference to `size` property in example, should be `titleSize` (#4742).
    
    * Fixing identation with prettier
    
    * Adding all sizes into the example. Changing snippet to titleSize s
    
    Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    2041721 View commit details
    Browse the repository at this point in the history
  3. export Rehype2ReactOptions (#4746)

    thompsongl authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    f64b469 View commit details
    Browse the repository at this point in the history
  4. [EuiFilePicker] Added i18n for Remove text (#4750)

    Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    373fe73 View commit details
    Browse the repository at this point in the history
  5. [EuiComboBox] Matching placeholder color to other form elements (#4744)

    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    b692232 View commit details
    Browse the repository at this point in the history
  6. [EuiButtonEmpty] Reduce icon in xs size (#4759)

    andreadelrio authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    b9a5cdc View commit details
    Browse the repository at this point in the history
  7. update i18ntokens

    thompsongl authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    cee865c View commit details
    Browse the repository at this point in the history
  8. 32.3.0

    thompsongl authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    6f24e3b View commit details
    Browse the repository at this point in the history
  9. Updated documentation.

    thompsongl authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    3331094 View commit details
    Browse the repository at this point in the history
  10. [EuiPopover] Handle initialFocus (#4768)

    * use hasSetInitialFocus
    
    * revert me
    
    * Revert "revert me"
    
    This reverts commit 011ed24.
    
    * docs
    
    * CL
    thompsongl authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    4255a69 View commit details
    Browse the repository at this point in the history
  11. Fixed description prop in EuiTable (#4754)

    Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    8e8357e View commit details
    Browse the repository at this point in the history
  12. [EuiComboBox] autoFocus behavior (#4772)

    * add autoFocus
    
    * revert me
    
    * CL
    
    * Apply suggestions from code review
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    f559c9e View commit details
    Browse the repository at this point in the history
  13. [EuiIcon] Fix two-tone icons to inherit parent color when nested in s…

    …pecific components (#4760)
    
    * Making app icons to inherit parent color when nested in specific components
    
    * Improving example
    
    * CL
    
    * Improving comment msg
    
    * Adding color inherit
    
    * Checking if icon has color applied
    
    * Color inherit example
    
    * Addressing PR review
    
    * WIP
    
    * CL and list group icon props
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    2e721df View commit details
    Browse the repository at this point in the history
  14. [i18n] NPM publish i18ntokens.json (#4771)

    * [i18n] NPM publish `i18ntokens.json`
    
    * Add entry in changelog
    
    * Fix missing await
    
    * Update CHANGELOG.md
    
    Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
    
    Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    0ac8774 View commit details
    Browse the repository at this point in the history
  15. [EuiCodeBlock] Replace highlight.js with prism.js via refractor (#4638)

    * replace highlight.js with prism.js via refractor
    
    * merge fix: file renamed
    
    * group lines
    
    * update tests
    
    * i18n block
    
    * remove regex lookbehind not supported in safari
    
    * CL
    
    * js -> jsx
    
    * token color parity
    
    * update line grouping method
    
    * use jsx language in docs
    
    * reduce newlines
    
    * docs
    
    * docs
    
    * headings
    
    * Update src-docs/src/views/code/code_example.js
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    
    * playground updates
    
    * os newlines
    
    Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
    2 people authored and cchaos committed May 4, 2021
    Configuration menu
    Copy the full SHA
    d86dc13 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Configuration menu
    Copy the full SHA
    ae75336 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Configuration menu
    Copy the full SHA
    49e471c View commit details
    Browse the repository at this point in the history
  2. update license headers

    thompsongl committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    6cb5094 View commit details
    Browse the repository at this point in the history
  3. fix license headers

    thompsongl committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    53d6cf4 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Configuration menu
    Copy the full SHA
    c8ddff0 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Configuration menu
    Copy the full SHA
    691130e View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. [CSS-in-JS] Global theme (#4643)

    Here we go!
    cchaos committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    31a24ed View commit details
    Browse the repository at this point in the history
  2. Shifting the border type to dot notation

    cchaos committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    460c138 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. test remove fontSIze

    cchaos committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    795fbf8 View commit details
    Browse the repository at this point in the history
  2. Removing fontSize for now

    cchaos committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    15c65f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3cf8109 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    afce166 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. clean up

    thompsongl committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    d8144ec View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Configuration menu
    Copy the full SHA
    75d9959 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    (Docs)
    cchaos committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    c15a8d5 View commit details
    Browse the repository at this point in the history
  3. linted

    cchaos committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    0f2430a View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Added section about ColorModeSwitch type

    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    dfd5d9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22a8c7a View commit details
    Browse the repository at this point in the history
  3. Moving contrast color functions to services

    And added docs for `makeHighContrastColor()()`
    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    0b6d4ae View commit details
    Browse the repository at this point in the history
  4. Cleaning up typography utils, but not documenting as it should only b…

    …e used by the theme
    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    72c836d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    941c930 View commit details
    Browse the repository at this point in the history
  6. Moved sizeToPixel to services/theme

    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    388d775 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    388db2c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f7e0329 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ace842b View commit details
    Browse the repository at this point in the history
  10. Removing required focus key from theme (for now)

    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    7aa722e View commit details
    Browse the repository at this point in the history
  11. Update contrast docs to just use euiTheme

    cchaos committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    b0106e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. utils code comments

    thompsongl committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    59f046d View commit details
    Browse the repository at this point in the history
  2. clean up

    thompsongl committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    41bb5cd View commit details
    Browse the repository at this point in the history
  3. Added docs for new JS color functions

    cchaos committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    e9ca717 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2021

  1. Configuration menu
    Copy the full SHA
    d228ba8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f56976e View commit details
    Browse the repository at this point in the history
  3. cl

    cchaos committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    9d419eb View commit details
    Browse the repository at this point in the history
  4. Prettier fix

    cchaos committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    95207f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac9843f View commit details
    Browse the repository at this point in the history
  6. readme

    thompsongl committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    6613900 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. Configuration menu
    Copy the full SHA
    f7905e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95dae99 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61ffefd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fadbeb0 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Configuration menu
    Copy the full SHA
    bcf9135 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7ca7af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c07a7c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    35396de View commit details
    Browse the repository at this point in the history