Commit Graph

9 Commits (78c6548334f24b24b546a93f09b63f6dd7fc55de)

Author SHA1 Message Date
dan 08cfb09589
Unconditionally polyfill Intl.PluralRules for native ()
* Revert "Fix Android startup perf regression ()"

This reverts commit e6213d7aa5.

* Force polyfill
2024-06-18 17:27:40 +03:00
dan e30575c0dc
Use exact imports for icons ()
* Use exact imports for icons

* Add a lint rule
2024-06-18 15:37:08 +03:00
dan e6213d7aa5
Fix Android startup perf regression () 2024-06-18 08:23:41 +03:00
dan 02becdf449
[Statsig] Make gate checks lazily () 2024-04-18 04:39:29 +01:00
dan 491116ca66
Fix useGate lint rule () 2024-04-11 23:59:02 +01:00
dan 427f3a848d
[Statsig] Typecheck gates ()
* Typecheck gates

* Lint against untyped useGate()

* Alphabetic
2024-04-10 19:36:37 +01:00
dan 46c112edfd
Enforce that text is wrapped in <Text>, remaining cases ()
* Toggle.Button -> Toggle.ButtonWithText

* Simplify Prompt.Cancel/Action

* Move lines down for better diff

* Remove ButtonWithText

* Simplify types

* Enforce Button/ButtonText nesting

* Add suggested wrapper in linter error

* Check <Trans> ancestry too

* Also check literals

* Rm ts-ignore
2024-04-05 15:09:35 +01:00
dan 3915bb4316
Enforce Text suffix for Text-rendering components ()
* Rm unused

* Add Text suffix to Title/Description

* Add Text suffix to text components

* Add Text suffix to props

* Validate Text components returns
2024-04-04 21:34:55 +01:00
dan 4cc57f4bfd
Lint against strings without wrapping <Text> ()
* Add a rudimentary rule

* Get the rule passing

* Support special-casing text props

* More tests
2024-04-04 17:32:50 +01:00