Commit Graph

19 Commits (172f2f3993040f1daf231812d39c3f0d108986ed)

Author SHA1 Message Date
Kerry 9a17a61809
add svgr loader for icons (#21248)
* add svgr loader for icons

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix config, move dep to dev

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add svg types

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add aria-hidden and role=img to svg

Signed-off-by: Kerry Archibald <kerrya@element.io>

* make svgProps explicitly overridable

Signed-off-by: Kerry Archibald <kerrya@element.io>

* role presentatino

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-02 09:14:30 +00:00
Michael Telatynski 211f480027
Abstract electron download path behind an opaque ID (#20271) 2021-12-21 15:34:57 +00:00
Dariusz Niemczyk e6993ca964 Expose logger instance for development purposes
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Jaiwanth 714d03524c Add declaration file 2021-07-27 17:18:17 +05:30
J. Ryan Stinnett 491b179971 Auto-fix lint errors 2021-06-30 13:28:31 +01:00
J. Ryan Stinnett 993c2e50b5 Fix Electron type merging
This changes to an interface for Electron types so that other layers can merge
in further APIs as needed, such as the JS SDK.
2021-02-08 15:12:31 +00:00
J. Ryan Stinnett 58eca1aa7d Use isolated IPC API
This adjusts to match changes on the desktop side where we now use Electron's
context isolation feature to expose only the IPC channels and methods we
actually expect to use.
2021-01-13 15:39:18 +00:00
Michael Telatynski 41738c322a Add PWA Platform with PWA-specific badge controls
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-02 16:58:05 +01:00
Michael Telatynski 6ec613c2c2 Convert various things to Typescript
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-20 19:56:54 +01:00
Michael Telatynski 911bd2e469 Replace favico.js dependency with simplified variant grown from it
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-13 05:19:08 +01:00
Michael Telatynski e5a232b0d8 make typescript happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:41:29 +01:00
Michael Telatynski d486782dd4 convert app.js to app.tsx
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:29:12 +01:00
Michael Telatynski 982074c12e Use matrix-react-sdk type extensions as a base
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-19 12:10:17 +01:00
Michael Telatynski b3780445d3 fix typescript types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-08 16:31:58 +01:00
Michael Telatynski b1575524aa Switch things to typescript, use @types/modernizr, fix global.d.ts. Move mobile_guide redirect to index.ts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-05 00:55:36 +01:00
Michael Telatynski b5318b4ebc fix global.d.ts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-05 00:05:59 +01:00
Michael Telatynski 1f94b25d25 Fix copyrights
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:28:07 +00:00
Michael Telatynski 6315907585 Typescript stuff.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:07:22 +00:00
Michael Telatynski df2b966acd move loadOlm to init.ts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 13:54:02 +00:00