75 Commits

Author SHA1 Message Date
Danilo Woznica
088627ac88 fix(dependencies): update 2020-09-20 19:19:43 +01:00
Ole-Martin Bratteng
e2420596d0 ci(gh-actions): remove npm run build from test command
It is run in CI action
2020-09-16 10:08:55 +02:00
Danilo Woznica
2cf826efb1 build(dependencies): audit 2020-09-14 10:02:09 +01:00
Danilo Woznica
b0f0f8d79a fix(dependencies): audit 2020-08-29 15:01:17 +01:00
Michaël De Boey
694af8454c Update package.json 2020-07-15 01:35:37 +02:00
Danilo Woznica
4e5bc2ab41 fix(dependencies): audit security issues 2020-06-22 13:17:51 +01:00
Danilo Woznica
ab22b9cfcb perf(native): improve performance by removing the internal state (#193)
* perf(native): improve perfomance removing internal state

related #178 related #187

* test(native): update snapshots
2020-04-08 09:59:54 +01:00
Danilo Woznica
56139989e4 fix(dependencies): audit (#192) 2020-04-05 15:42:34 +01:00
Danilo Woznica
879696037d fix(native): creates the styles obj using assign (#183)
closes #182
2020-02-20 11:01:58 +00:00
Danilo Woznica
6f77337fec fix(interface): path to interface declaration (#180)
Closes #179
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
2020-01-26 20:06:38 +00: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
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
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
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
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
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
fb0e65b1d6 3.4.2 2019-01-08 13:33:15 +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
Danilo Woznica
715f41614d 3.4.1 2018-11-27 22:47:51 +00:00
Danilo Woznica
4b00f6e691 3.4.0 2018-11-27 22:46:28 +00:00
Danilo Woznica
00754ab929 feat(a11y): Add title and aria label (#115)
Closes #110
2018-11-27 22:45:13 +00:00
Danilo Woznica
79c7c00644 3.3.0 2018-11-27 21:42:45 +00:00
Danilo Woznica
b119af3879 3.2.0 2018-11-27 21:42:32 +00:00
Danilo Woznica
278b27ca24 Update script 2018-11-27 21:40:09 +00:00
Danilo Woznica
a0ba057726 Fix/remove circular dependency (#114)
* Latest build

* 3.2.0

* refactor(All layer): Remove circular dependecy
2018-11-27 21:34:09 +00:00
Isac
de826a7f9d upgrade babel 7 (#105) 2018-10-08 10:41:34 +01:00
Danilo Woznica
22f1de5cb6 chore(Package / Root files): Update depencies / Remove unused / Remove old scripts (#103) 2018-09-29 12:14:28 +01:00
Vitor Leonel
ed2c92e450 remove all unused imports from tests (#98)
* remove sinon and duplicate use for chaiEnzyme

* remove sinon and duplicate use for chaiEnzyme

* remove sinon

* remove sinon

* remove sinon

* remove sinon

* remove import ContentLoader

* remove import generateId

* unused  chai

* remove sinon from dev dependencies
2018-06-25 09:53:13 -03:00
Danilo Woznica
928c21d145 3.1.2 2018-05-09 22:08:40 -03:00
Danilo Woznica
6f8b9f3586 3.1.1 2018-02-13 14:33:39 -02:00
Danilo Woznica
bcadba3381 3.1.0 2018-02-13 14:05:18 -02:00
Danilo Woznica
7b9d65d1f7 refactor(Readme and types): Cosmetic things 2018-02-13 14:02:56 -02:00
Danilo Woznica
82a5ba6310 3.0.2 2018-02-03 14:33:01 -02:00
Danilo Woznica
f36b10d902 Improvement tests (#76)
* Improvement tests

* Add Istanbul: Code Coverage Tool

* Fix tests

* Uid test

* Removed istanbul in the depencies
2018-01-23 16:05:37 -02:00
Danilo Woznica
2a85ed04a5 3.0.1 2018-01-23 12:17:19 -02:00
Danilo Woznica
204a552fb8 3.0.0 2018-01-23 12:08:18 -02:00
Danilo Woznica
044e99df45 2.0.2 2018-01-16 19:00:07 -02:00
Iacami Gevaerd
d1f2f53ba2 Add simple build & publish script to prevent dirty pushes to npm registry (#71) 2018-01-16 18:59:46 -02:00
Danilo Woznica
a350e2e405 2.0.1 2018-01-16 18:51:59 -02:00
Mateusz Burzyński
d89fdcf333 Refactored build infrastructure (#68) 2018-01-16 18:27:00 -02:00
Neil Kistner
4c801f2cba Change peerDeps to allow React 15/16 and remove react-dom (#66) 2018-01-16 12:03:06 -02:00
Danilo Woznica
14a7d89dc3 Updated version 2018-01-07 19:59:53 -02:00
Danilo Woznica
f6b386bcdd Changed peerDependencies to React 15 2018-01-07 19:54:31 -02:00
Danilo Woznica
2c26c1d5fb Build and version 2017-12-18 11:00:46 -02:00
Danilo Woznica
0c9e60b3bd Updated version 2017-12-18 10:51:06 -02:00