Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
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
2019-09-25 13:41:59 +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
f3c539b774 Update props.mdx 2019-03-07 14:20:03 +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
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
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
2019-03-06 20:51:02 +00:00
Danilo Woznica
efc7fddb2b chore(docs): updating (#135) 2019-02-06 22:55:33 +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
2019-01-24 18:40:12 +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