Commit Graph

203 Commits

Author SHA1 Message Date
Danilo Woznica
56139989e4 fix(dependencies): audit (#192) v5.0.3 2020-04-05 15:42:34 +01:00
Danilo Woznica
02e98eb0b1 Docs/troubleshooting (#191)
* docs(readme): adds troubleshooting section

* docs(readme): reorder sections
2020-04-05 13:37:40 +01:00
dependabot[bot]
70e3d5ded8 chore(deps): bump acorn from 5.7.3 to 5.7.4 (#186)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 10:01:05 +00:00
Danilo Woznica
879696037d fix(native): creates the styles obj using assign (#183)
closes #182
v5.0.2
2020-02-20 11:01:58 +00:00
Erwann Mest
b3ea38e4e7 docs(README): fix "Black box in Safari / iOS" (#181) 2020-02-03 11:28:12 +00:00
Danilo Woznica
a2fb377ff9 Update README.md 2020-01-27 20:50:41 +00:00
Danilo Woznica
6f77337fec fix(interface): path to interface declaration (#180)
Closes #179
v5.0.1
2020-01-27 19:10:09 +00:00
Danilo Woznica
6547763d30 docs(readme): add link to docs 2020-01-26 20:58:56 +00:00
Danilo Woznica
8ed714cb3d V5: API changes (#176)
* feat(api): updates background and foreground

BREAKING CHANGE: Rename `primaryColor` to `backgroundColor` and `secondaryColor` to
`foregroundColor`.

* feat(api): updates uniqueKey

BREAKING CHANGE: Renamed prop key `uniquekey` to `uniqueKey`

* fix(svg): removes unnecessary keys

* fix(web svg): adds display name

* feat(a11y): improves attrs

BREAKING CHANGE: Shift `ariaLabel` to `title` prop, the value remains

* refactor(codebase): reestructure

* test(web native): updates with new structure

* test(native): sets animate false on tests

* fix(svg): removes viewBox, width and height from api

* fix(presets): updates to new api and some design updates

* feat(content loader): sets new default as facebook instead of a box

* docs(readme storybook): updates to new api

* test(web native): updates
v5.0.0
2020-01-26 20:06:38 +00:00
Danilo Woznica
06432e257d fix(Interface): extend svg attr (#172)
* fix(interface): extends from svg element

* fix(native interface): extend from svg native package
v4.3.4
2019-12-25 23:27:01 -03:00
Danilo Woznica
ca628bf89f docs(development): migrate to storybook (#171)
* docs(dev mode): migrate to storybook

* style(codebase): update eslint rules

* build(dev dependencies): update
2019-12-25 22:44:18 -03:00
Danilo Woznica
cc64259ed7 docs(properties): viewbox 2019-12-09 17:09:12 -03:00
GOLDI KUMAR
f2f058bd28 fix(typecheck): aria-label prop (#167)
* Update index.ts

* Update index.ts

* Updating ariaLabel

* ariaLabel case update

* Update Svg.tsx
v4.3.3
2019-12-06 16:50:40 -03:00
Danilo Woznica
4c9f06184a Merge pull request #165 from patcito/reacteurope-badge
add reacteurope badge to readme
2019-11-26 13:11:09 +00:00
Patrick Aljord
fb544dd6c0 add reacteurope badge to readme 2019-11-22 20:06:45 +01:00
Danilo Woznica
c032ca7d2b Merge pull request #158 from danilowoz/docs-dependency
docs(getting started): add dependency
2019-10-13 15:43:48 +01:00
Danilo Woznica
db6131fb4f docs(getting started): add dependency 2019-10-13 15:36:19 +01:00
Danilo Woznica
e584101a39 Merge pull request #156 from danilowoz/dependencies
fix(dependencies): move native dependencies to native module
v4.3.2
2019-10-13 14:41:06 +01:00
Danilo Woznica
70b76db8d5 fix(dependency): add react-native-svg as dev dependency 2019-10-13 14:35:50 +01:00
Danilo Woznica
7a082ce61f fix(dependencies): move native dependencies to native module 2019-10-08 13:39:46 +01:00
Danilo Woznica
832edd78b1 Merge pull request #155 from danilowoz/native-remove-listener
fix(native): remove listener on unmont
v4.3.1
2019-10-08 13:30:06 +01:00
Danilo Woznica
9585a0f89a Merge branch 'master' into native-remove-listener 2019-10-08 13:25:38 +01:00
Danilo Woznica
9b5e851236 fix(native): remove listener on unmont
re #16
2019-10-08 13:23:53 +01:00
Danilo Woznica
e12cfc5b20 Update README.md 2019-09-25 17:53:45 +01:00
Danilo Woznica
abc604bb4c Update README.md 2019-09-25 17:52:50 +01:00
Danilo Woznica
ef863dab50 Update README.md 2019-09-25 13:53:22 +01:00
Danilo Woznica
a04f788057 feat(codebase): react native support (#153)
re #148, re #137, re #106, re #89, re #16, re #6

* build(rollup): native bundle

* feat(native): stylized components

* build(typescript): react native check

* feat(typing): improves

* build(tsconfig): by environment

* test(web native): setup

* test(native): support

* docs(readme): native documentation
v4.3.0
2019-09-25 13:41:59 +01:00
Josh Kuttler
578ee06ede docs(README.md): added bit components (#152)
Exported library using bit so people can now:
- Find and install the component in bit.dev.
- Play with the examples and edit the code.
- See all the tests in each component.
- Install each component individually instead of installing all the project.
- Import component in their project to modify the code locally if needed.
- See all dependencies.
- See bundle size of the component before installing it.
2019-08-19 09:52:11 +01:00
Zack Seuberling
18e53131f2 fix(svg): uses correct aria-* attribute for label (#149)
according to the MDN documentation, the aria-labelledby attribute is reserved for one or more
element IDs to associate a label with an element. the aria-label attribute is for a string when no
visible label on the screen
v4.2.2
2019-07-09 10:02:19 +01:00
Danilo Woznica
8f28d2e283 Update packages (#147)
* build(dev dependencies): update packages

* chore(gitignore): add yarn.lock
2019-05-19 21:56:45 +00:00
Danilo Woznica
570dd6bc2d Update README.md 2019-05-02 13:26:17 +01:00
Danilo Woznica
69f56bddc6 Update README.md 2019-04-14 18:36:16 +01:00
Danilo Woznica
f3c539b774 Update props.mdx 2019-03-07 14:20:03 +00:00
Danilo Woznica
1917fb1fa2 Update README.md 2019-03-07 14:19:33 +00:00
Danilo Woznica
4de8d96b7b fix(svg/filter): add baseurl prop (#144)
* fix(svg/filter): add baseurl prop

* test(baseurl): add tests

* docs(prop): baseurl
v4.2.1
2019-03-07 14:13:20 +00:00
Alexandre Kirszenberg
b8e5cb9e8c feat(svg): add a gradientRatio prop (#140)
* feat(svg): add an interval prop

Add an interval prop that controls the duration of the interval between two animations. For
instance, an interval of `.25` and an animation speed of `2` imply that the animation will
take 1.5s to complete, and wait 0.5s before starting again.

* feat(svg): add a gradientRatio prop

Add a gradientRatio prop that controls the width of the gradient relative to the viewbox's own
width. For instance, a gradientRatio of `0.5` and a width of `200` imply that the resulting gradient
will have a width of 100px.

* docs(docz): add props section
v4.2.0
2019-03-06 21:34:14 +00:00
Alexandre Kirszenberg
6f26e2d5be feat(svg): add an interval prop (#139)
* feat(svg): add an interval prop

Add an interval prop that controls the duration of the interval between two animations. For
instance, an interval of `.25` and an animation speed of `2` imply that the animation will
take 1.5s to complete, and wait 0.5s before starting again.

* docs(options): add interval prop
v4.1.0
2019-03-06 20:51:02 +00:00
Alexandre Kirszenberg
21dbad682e chore(yarn): remove yarn-error.log (#142)
* chore(yarn): remove yarn-error.log

* chore(yarn): ignore yarn-error.log
2019-03-06 20:10:53 +00:00
Eran Shmil
ee53c9e56e chore(readme): fix url and add new similar package (#136) 2019-02-15 10:08:15 +00:00
Danilo Woznica
efc7fddb2b chore(docs): updating (#135) 2019-02-06 22:55:33 +00:00
amirali
15eb1fe498 package.json format script was changed to work on windows (#133)
fix(package.json): Format script was changed to work on windows
2019-02-05 18:32:23 +00:00
Danilo Woznica
e24382544f fix(Holder): Named default export of Holder.tsx
Closes #131 Closes #132
v4.0.1
2019-02-01 14:14:51 +00:00
gcangussu
990124930e Named default export of Holder.tsx. (#132) 2019-02-01 13:19:09 +00:00
Danilo Woznica
88ff13b2f3 Update README.md 2019-01-29 17:02:58 +00:00
Danilo Woznica
9704798869 Update README.md 2019-01-28 21:50:25 +00:00
Danilo Woznica
a214a244b5 Improv/doc (#130)
* docs(Readme): Update tagline

* docs(README): Usage

* docs(README): Options

* docs(README): Development

* docs(README): Known issues

Closes #93

* docs(README): Some fixes
2019-01-28 21:45:40 +00:00
Danilo Woznica
bfd2707d79 Codebase migrations (#126)
* test(Refactor): (#117)

* test(Refactor):

* Holder / SVG tests

* Svg tests

* Removed old tests

* Coverage

* Migrate to travis

* Update travis

* Update travis

* ci(Release):

* test(package):

* ci(Travis):

* chore(devDependencies): Package to generate the changelog

* feat(Codebase): Format

* feat(Types): Export types

* ci(Build step):

* feat(RTL): Flip the content

BREAKING CHANGE: Flip all content instead of only flip the animation direction

Closes #122

* Migrate codebase to Typescript (#120)

* Ignore rpt2_cache

* Add typescript pkg; Add tsc runner script

* Replace babel with ts compiler

* Typescript configs

* Update lockfile

* Convert Holder to tsx

* Convert svg to tsx

* Convert index.js to ts

* Convert uid to ts

* Convert BulletListStyle to tsx

* Convert CodeStyle to tsx

* Convert FacebookStyle to tsx

* Convert InstagramStyle to tsx

* Convert ListStyle to tsx

* Remove flow preset

* Add ts-node for ts execustion env for nodejs

* Remove flow preset & rollup-babel plugin; Add ts-node for ts env in nodejs

* Update lockfile

* Update watch script for tsc

* Rename IProps to IContentLoaderProps; Use FC for validation

* Remove unwanted ISvgProps; import IContentLoaderProps for type validations

* import and re-export IContentLoaderProps for better types

* Import and use types from IContentLoaderProps

* Remove eslint; replaced by tslint and tslint-prettier

* Add tslint-config-prettier

* Implement stricter type checking

* Remove comments as it is handled by tslint-config-prettier now

* Replace lint by tsc

* remove eslint and flow configs

* Add style default props

* Add jest options to include ts test files

* Add options to load json file

* Migrate tests from JS to TS for better interoperability

* Updated snapshots

* Remove ts-node

* Break line after react import

* Remove export from bottom of file and move to component definition

BREAKING CHANGE: Migrate codebase to typescript

Closes #120
v4.0.0
2019-01-24 18:40:12 +00:00
Danilo Woznica
fb0e65b1d6 3.4.2 v3.4.2 2019-01-08 13:33:15 +00:00
Danilo Woznica
a7caea4f4c fix(Aria): Option to remove it (#128) 2019-01-08 13:32:49 +00:00
Ajay Poshak
84d10ddbe4 Add docz documentation (#119)
* Ignore file generated by docz

* Add docz config

* Bump react versions; Add docz deps; Add docz scripts

* Introduction docs for docz

* Add usage docs

* Remove unused import

* Ignore rpt2_cache in version control

* Remove storybook and update dev script

* Update docs to refer docz instead of storybook

* Remove storybook files

* Ignore vs code specific files in version control
2018-12-07 16:40:57 +00:00