Skip to content

Export Icon Paths #809

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

Merged
merged 6 commits into from
Oct 15, 2018
Merged

Export Icon Paths #809

merged 6 commits into from
Oct 15, 2018

Conversation

cerinman
Copy link
Contributor

@cerinman cerinman commented Oct 9, 2018

This moves the icon paths used in the Icon component out to a constant file with a helper function for getting the correct path.

I've done this because I have a need to access the path data internally for a new budget icon based upon path data used here in the Icon component.

I've had to use function here because we recently added path data to be used with a backgroundFillColor prop so that we can color the background of some icons.

screen shot 2018-10-09 at 1 04 13 pm

@jmophoto
Copy link
Contributor

jmophoto commented Oct 9, 2018

:shipit:

@jmophoto
Copy link
Contributor

jmophoto commented Oct 9, 2018

:shipit:

@cerinman cerinman changed the base branch from master to 6.1.3-release October 15, 2018 16:23
@cerinman cerinman merged commit 260e79c into 6.1.3-release Oct 15, 2018
@cerinman cerinman deleted the tommy/icon-paths branch October 15, 2018 16:25
cerinman added a commit that referenced this pull request Nov 15, 2018
* Remove global handler prop to ListBox in SimpleSelect and Select. (#802)

* Remove global handler prop to ListBox in SimpleSelect and Select.

* Update change log for recent change.

* Sb/jmo/separate packages (#813)

* update travis

* add bundle size

* add bundlesize package

* fix bundle check

* remove bundlesize from travis

* remove docs:build

* remove build

* fix bundle output

* retry bundle size

* test uncompressed bundle size

* bump version

* Docs Version: undefined

* reset gitignore

* clean up package

* fix version

* remove bundle

* Docs Version: 6.1.3

* Update docs package and lock file.

* Update main lib package and lock file.

* Get bundle size into the package.jsons.

* Update travis.yml to change build process.

* Update lock file

* Export Icon Paths (#809)

* Creates new IconPaths constant

* Replace swith statement with new IconPaths constant

* Export IconPaths constant

* fix export issues

* Name export better

* export helper IconPaths as an object

* Fix change log

* Docs Version: 6.1.3

* Bumping maxSize to 3.37

* npm audit fix

* npm audit fix docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants