Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/formatjs/formatjs
The monorepo home to all of the FormatJS related libraries, most notably react-intl.
https://github.com/formatjs/formatjs
b6cf977d75899358c8cb45a847c72546bb14a3a8 authored over 5 years ago by Long Ho <[email protected]>
fix docs to exclude core
336d365c3c197ca7f56c5e7defec4982d70262ca authored over 5 years ago by Long Ho <[email protected]>223d2cf429889f05bc01231c83e110d15b603237 authored over 5 years ago by Long Ho <[email protected]>
3bd63b44666656d9131ac7a1bb6976958fd5d373 authored over 5 years ago by Long Ho <[email protected]>
de76fc4b120e0612826e71dcfdf7e71b3086d182 authored over 5 years ago by Long Ho <[email protected]>
`unit` param in `formatRelativeTime` was wrong, fix it to proper
`FormattableUnit` type
c3fae63251655c96fd30029677a2bfc31a9aceb8 authored over 5 years ago by Long Ho <[email protected]>
Before `intl` object would have `children` since we pass the full props
in. This gets rid of that
42cb46ecb11f23dafaa76d7eb1c686820e7cd9e3 authored over 5 years ago by Long Ho <[email protected]>
19398d7c5ab08801c6f4835296edec8e94cdce7f authored over 5 years ago by Long Ho <[email protected]>
5295ee14c6954ac89f1ed371181646010e81eb5e authored over 5 years ago by Long Ho <[email protected]>
79647dae125c5af15ce58afd1899cd6a4c13cd29 authored over 5 years ago by Long Ho <[email protected]>
b887b837d05b9feb5dba945a0b81333973ef5ae9 authored over 5 years ago by Long Ho <[email protected]>
2030bdd5dea01bb5d49bf21cf98d4617e595e3e7 authored over 5 years ago by Long Ho <[email protected]>
295448ba5c7149cbf0f37af5e735bc4ef112ac03 authored over 5 years ago by Long Ho <[email protected]>
583cf182386129f422329dc49f24b9d90258c4ce authored over 5 years ago by Long Ho <[email protected]>
0ffc90aefc4c9d565c64a33e3e906852e7e914ba authored over 5 years ago by Long Ho <[email protected]>
73ec935dc9d8f57ef54b8e583fa9bee25f95e88b authored over 5 years ago by Long Ho <[email protected]>
Also introduces `createIntl` and `RawIntlProvider`
fixes #1386
fixes #1376
## Creating in...
227a4442dd441d1ff377a04c70358f32cb2e287e authored over 5 years ago by Long Ho <[email protected]>* Fix FormattedRelativeTime with high seconds values
Expected:
For an item with an age of 3 ...
05970c2ca66e1af4be1b3f05f7c5511b81b05d93 authored over 5 years ago by Long Ho <[email protected]>
91d6b97c0e6412c5e23fcea783f0ddab983a8252 authored over 5 years ago by Long Ho <[email protected]>
c39fba1d91886abed3608494686878e87b5e5e74 authored over 5 years ago by Long Ho <[email protected]>
bfd46fe93eb0d9380e16d047337c0b754c4f7dd9 authored over 5 years ago by Long Ho <[email protected]>
5e5726c5c8dbf9469f95ba127703057693271fab authored over 5 years ago by Long Ho <[email protected]>
e79d9010c862db6cd79a2692dd5bd222317ec262 authored over 5 years ago by Long Ho <[email protected]>
144ee44ddf0f3883e86c5d9eca7817af431bd6a8 authored over 5 years ago by Long Ho <[email protected]>
f59607ed8e1041975fe62f830e0b301d8bdd6eeb authored over 5 years ago by Long Ho <[email protected]>
964159ba144cf872ee8c19525da887f42ed65801 authored over 5 years ago by Long Ho <[email protected]>
ec8ff4bbdd02bcfbe6c3161ceb291165ddb2d254 authored over 5 years ago by Long Ho <[email protected]>
d1f3bc61e538d99feb5acebd9d463fe79feb6aca authored over 5 years ago by Long Ho <[email protected]>
ce612f1cb7a7fd592a7010353679e3a0c6ce53b2 authored over 5 years ago by Long Ho <[email protected]>
847fbf1fdd88b47dbb6a00d92d416361ff88f086 authored over 5 years ago by Long Ho <[email protected]>
00cbf808725654f8f3b255540db0d19425139dd5 authored over 5 years ago by Long Ho <[email protected]>
## Enhanced `FormattedMessage` & `formatMessage` rich text formatting
In v2, in order to do r...
61d3c1be9bc1038d3ba7dbe1a61806638b638f19 authored over 5 years ago by Long Ho <[email protected]>594a8070efe34f4332730d78bf07724925916b7a authored over 5 years ago by Long Ho <[email protected]>
0dd4b4638c45294a6d8a87307d0e2a61d3589046 authored over 5 years ago by Long Ho <[email protected]>
d8791c3dd899a8783e166b607104392624918356 authored over 5 years ago by Long Ho <[email protected]>
ae2b7078444d8567697d8ad40e343004c2f6e377 authored over 5 years ago by Long Ho <[email protected]>
1dfe7fdeddb47098c19ccdfe4e5cd02ffe70b9ca authored over 5 years ago by Long Ho <[email protected]>
6b6477a507b7964b8897515585dbb4047cdbab40 authored over 5 years ago by Long Ho <[email protected]>
032a9d1a5cc867287659ef08344b03dd211459c4 authored over 5 years ago by Long Ho <[email protected]>
1866a5d80eb4eb085db35f805b43ddfad0b99f45 authored over 5 years ago by Long Ho <[email protected]>
c418a55f4dacb66f2f1fae46c1ef870cdf28b080 authored over 5 years ago by Long Ho <[email protected]>
fixes #1371
Separate out 2.x upgrade guide
Adding a section on how to implement the old `FormattedRelative` behavior in v3. As per discussi...
f8ddcd0004cb9c640f263fcd0be8ca38dd2dd219 authored over 5 years ago by Jan Dvorak <[email protected]>
JS have implicitly type conversion, 2019-07-13 can be read correctly.
This makes it easy to use...
fbb4604e2e90d952fa36acee900c0ccd9494eaa6 authored over 5 years ago by Long Ho <[email protected]>
65eef98e272ae94836ab321a23846f14922e9ddc authored over 5 years ago by Long Ho <[email protected]>
062df5d8b40c786271918b7aeef790d7fbcb9266 authored over 5 years ago by Long Ho <[email protected]>
692e063b19670364dd7c6c3c4a94997f28d40a15 authored over 5 years ago by Long Ho <[email protected]>
6b2e15eb7cd409acce39fb96c070d95c1608a964 authored over 5 years ago by Long Ho <[email protected]>
Allow using `formatMessage` with `ReactElement` imperatively, e.g:
```tsx
formatMessage('hello...
20d39e6a51ba4103b299b01bba55952330131d1c authored over 5 years ago by Rob Walker <[email protected]>
3e0004794383a2d32832d475af302b4b5fd98aba authored over 5 years ago by Long Ho <[email protected]>
fix: add default tagName to HTML message
fix: add revert back to createElement for message
fix...
3b9627e49e719680f0209132097006446a71642e authored over 5 years ago by Long Ho <[email protected]>
7c3a7a2bae659fad202e0b19d08c2fa4dee309eb authored over 5 years ago by Long Ho <[email protected]>
3fa4d4b681b9a80dab0b8439f842d782847cfe78 authored over 5 years ago by Long Ho <[email protected]>
f12f4040794d0cccec9f423a99ceaa5397deb2d3 authored over 5 years ago by Long Ho <[email protected]>
0a6ca3f490283a4250d10b4d253ed3098ba85df5 authored over 5 years ago by Long Ho <[email protected]>
61b536b4060c0ea3a517924aaefdba597f2fad48 authored over 5 years ago by Long Ho <[email protected]>
e4b2187d8c03d58ccfd07ee77ee58d240e05005b authored over 5 years ago by Long Ho <[email protected]>
6d44fe00245cf0e5756281edcbba57a9e64fc101 authored over 5 years ago by Long Ho <[email protected]>
c4bd74e2de986b93b193dffaaaf341370e7ca50c authored over 5 years ago by Long Ho <[email protected]>
2f5267d95ed8f8542974039cf418606fda1931f3 authored over 5 years ago by Long Ho <[email protected]>
8b4fc9bea0350314277fc83fccc7823e7d7f09ee authored over 5 years ago by Long Ho <[email protected]>
91db38cd1afb101caee908c21e9a51e6a3094c6c authored over 5 years ago by Long Ho <[email protected]>
3f27902a09987c8a386e7a44649dae88174b0f13 authored over 5 years ago by Long Ho <[email protected]>
link was not properly formatted
01eef5c96e7ece9769b3a98fb26ed2187b37741c authored over 5 years ago by Kazuki <[email protected]>
* chore: migrate tests to TS, rm mocks
- rm unnecessary re-render tests since those basically t...
af650b4bda9b25b90409731564f8c60e039f04ef authored over 5 years ago by Ilya Panasenko <[email protected]>
16d7ed920fb12aaa611824fc8ff8e0af5788b2bc authored over 5 years ago by Ilya Panasenko <[email protected]>
ee8a8aae3c30832d2f4fb951987f47504d353511 authored over 5 years ago by Long Ho <[email protected]>
be25e72cc3d6c6a23df9bcbd5201ff2e06ada56c authored over 5 years ago by Long Ho <[email protected]>
c46f994120829949515f3f719e6f01233187d5a9 authored over 5 years ago by Long Ho <[email protected]>
We rely on its types. This will be removed once `RelativeTimeFormat` gets to stage 4
310bb625601087fae73a626815958da537fb9bc9 authored over 5 years ago by Ilya Panasenko <[email protected]>b38afd7dd6d722de0660ba9a231ce4817c6ec2b4 authored over 5 years ago by Long Ho <[email protected]>
9ddfdcf7e1f2f7f6705aa26f8dadb63b70820c9b authored over 5 years ago by Long Ho <[email protected]>
a0374b8fcce97587a219499c5ca543144332d175 authored over 5 years ago by Long Ho <[email protected]>
6dfef2b13c9e07b811fcd86aabfde364bb2676cf authored over 5 years ago by Long Ho <[email protected]>
96e9baec3afe41968a7bc4cf5a4ac5e28697b392 authored over 5 years ago by Long Ho <[email protected]>
493d6dd7e8de2f8dddf58722cb67f11cfdb3d3e5 authored over 5 years ago by Long Ho <[email protected]>
b656847bafc39694dfe7f2c32ee5a8d239571bda authored over 5 years ago by Long Ho <[email protected]>
* formatMessage: make "values" optional
* formatMessage: added type for "values" option
* ...
8a78060fed1ce21735915c52de17ba9b837d9934 authored over 5 years ago by Rusya44 <[email protected]>* feat: pass in formatters to IntlMessageFormat for perf
* fix up benchmark
303a4ea04029d4516f394b1d7d7633458d94dd94 authored over 5 years ago by Long Ho <[email protected]>58a173937793a718a4a59e0d7f13d8727cee613d authored over 5 years ago by Rusya44 <[email protected]>
* feature: allow AST to be passed in to IntlProvider, fixes #1335
* autogen markdown TOC
*...
6cf8acff41d7abc29727990675eb037c5ffe24a1 authored over 5 years ago by Long Ho <[email protected]>56757e39d4fc8fef47ed75106508d7e8b3cdd5b0 authored over 5 years ago by sbertal <[email protected]>
95a20e14c61cf1a60d0e3e2e834377cf9401142c authored over 5 years ago by sbertal <[email protected]>
a511bde0790d6f090336e46fbc49486857808b59 authored over 5 years ago by Long Ho <[email protected]>
59f27ce617d31de08a4bcdcd1dca305ab69b1f90 authored over 5 years ago by Long Ho <[email protected]>
4a375a55c17690f2a1a3c46abf6783d0809f6f87 authored over 5 years ago by Long Ho <[email protected]>
indicate that useIntl hook currently only on beta
3adf32cb3c90053b1ad419ae46626a8465ee0e5f authored over 5 years ago by Stephen Doyle <[email protected]>0eab294683514e41fed61eb7f59a731e405f448b authored over 5 years ago by Long Ho <[email protected]>
8d0285816f1eeeed834be29721160b1aa2746299 authored over 5 years ago by Seth Bertalotto <[email protected]>
* feat: Use React.Fragment as default textComponent
- Fix some `any` casting
- Fix tests
- Ad...
* chore: another pass at updating docs
* dep++
* rename all withIntl to injectIntl for con...
99f2ec01918e23a0c94bf5f13ddc64d1435ec3d9 authored over 5 years ago by Long Ho <[email protected]>work around the fact that IntlProvider cannot have defaultProps
eef892ae826c369635ae0e7e70ce6c5ee762967a authored over 5 years ago by Long Ho <[email protected]>
* migrate src to TS
- Migrate all src/ to TypeScript. There will be a follow up diff to
improv...