Commit Graph

176 Commits

Author SHA1 Message Date
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
Danilo Woznica
d4647451d9 Update README.md 2018-11-28 14:03:09 +00:00
Danilo Woznica
715f41614d 3.4.1 v3.4.1 2018-11-27 22:47:51 +00:00
Danilo Woznica
4e2529048c Typo readme 2018-11-27 22:47:39 +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
a9952d7116 Update version 2018-11-27 21:44:00 +00:00
Danilo Woznica
79c7c00644 3.3.0 v3.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
2fd767f947 3.2.0 v3.2.0 2018-11-27 21:40:19 +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
Danilo Woznica
f19156027a feat(Wrap): Destruct options in component (#113)
That allows removing the viewBox and other things

Related #107
2018-11-27 21:14:33 +00:00
Danilo Woznica
599db692f9 test(Uniquekey): (#108) 2018-10-25 14:07:05 +01:00
Isac
de826a7f9d upgrade babel 7 (#105) 2018-10-08 10:41:34 +01:00
Danilo Woznica
2d3baf7039 Feat/rtl (#104)
* Improv code

* feat(Wrap): RTL direction

* test(Tests): Code style

* test(RTL): Add test
2018-09-29 14:33:22 +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
c2a0491dca chore(Story): Add safari bug fix story 2018-05-09 22:07:31 -03:00
Sam Walsh
3a72b14f50 New primaryOpacity and secondaryOpacity props to work around Safari rgba bug (#96)
* Safari and iOS transparency workaround

Introduction of `primaryOpacity` and `secondaryOpacity`

* Remove primaryOpacity/secondaryOpacity conditional props type

* Add tests for primaryOpacity and secondaryOpacity
2018-05-09 21:54:56 -03:00
Danilo Woznica
29ba1d12c1 Update README.md 2018-05-09 21:06:28 -03:00
Danilo Woznica
d7cedda1e4 Fix typos 2018-04-29 12:39:59 -03:00
Danilo Woznica
caa698fdc7 Update README.md 2018-04-08 21:00:10 -03:00
Danilo Woznica
7caa2135c3 Update README.md 2018-04-08 20:59:37 -03:00
Roy
88257ee720 docs(readme): fix typos (#90) 2018-03-29 17:19:42 -03:00
Danilo Woznica
cabf854466 Update README.md 2018-03-25 22:32:13 -03:00
Danilo Woznica
575d7c8661 Update README.md 2018-03-25 22:29:47 -03:00