-
-
Notifications
You must be signed in to change notification settings - Fork 533
feat: dynamically setting style through styles prop #846
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
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1ecf0e0
fix: tooltip arrow background color now inherit from tooltip backgrou…
danielbarion 1da8465
docs: add gabrieljablonski as maintainer of the project
danielbarion 8909abf
feat: add styles prop into tooltip
danielbarion 7c48352
docs: update docs for styles attribute
danielbarion 65dfd45
docs: add missed package into doc folder
danielbarion 018e90d
docs: add contribuiton.md into the project
danielbarion 1b16ff8
refactor: update grammarly of contribution file
danielbarion a814f4b
chore: increase feature version in package.json
danielbarion 73d66b1
docs: update getting started docs
danielbarion 0dc2d10
docs: update basic examples upgrade docs
danielbarion ab90baf
Update src/components/Tooltip/TooltipTypes.d.ts
danielbarion e302e36
Update src/components/TooltipController/TooltipControllerTypes.d.ts
danielbarion 55d2b7f
chore: update comment on ts types build
danielbarion e44265d
refactor: use style instead styles and add docs for this in options
danielbarion 69278fa
docs: add missed import into getting started docs
danielbarion 28dd2cf
fix: update types build and dts package version to build decorators
danielbarion 12333e7
chore: add codecov integration into the project
danielbarion a058d35
chore: remove codecov to do this in another PR
danielbarion 972149b
docs: fix broken links pointed to v5 branch
danielbarion 04a7abc
docs: fix h1 to improve SEO
danielbarion 8d9b89e
docs: add description to some pages to improve docs SEO
danielbarion d9ef7d5
docs: add robots.txt into docs
danielbarion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Contribution | ||
|
||
## Running project locally | ||
|
||
### ReactTooltip (root) | ||
|
||
1. Run `npm install` || `yarn` to install dependencies | ||
2. You can test by: `yarn dev` to run dev mode, or you can run **docs** directly using root folder instead of NPM, for this, please check **docs section**. | ||
|
||
### Docs | ||
|
||
You still need step 1 from `ReactTooltip (root)` section. | ||
Docs are commited using npm packages, but with this steps, you can use local ReactTooltip package build. | ||
|
||
1. In **docs** folder, run `npm install` || `yarn` to install dependencies | ||
2. In **root** folder (parent of docs folder), run `yarn build` to generate a production build (you can use `yarn build --watch` to always generate a new build when a file changes) | ||
3. Change `package.json`: | ||
|
||
From this: | ||
``` | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-tooltip": "5.0.0" | ||
``` | ||
|
||
To this: | ||
``` | ||
"react": "link:../node_modules/react", | ||
"react-dom": "link:../node_modules/react-dom", | ||
"react-tooltip": "link:.." | ||
|
||
``` | ||
|
||
4. Run `yarn start` and open `localhost:3000` to see docs running locally. | ||
|
||
OBS: do not commit this change or the docs will broken the deployment and will not be updated. | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.