Wykres commitów

21 Commity (master)

Autor SHA1 Wiadomość Data
Amio Jin 23108a625f
fix: generate random id for svg elements. Fixes #71 (#78) 2023-06-22 15:36:02 +08:00
简静凡 665dc507ee
feat: export typescript types (#77)
- export type StyleOption
- export type ColorPreset
- export type BadgenOptions
2023-02-24 18:33:13 +08:00
Amio fdfe99c051 fix: correctly render undefined label 2022-04-30 17:31:10 +08:00
Amio 49b999f5da chore: update tsconfig 2022-04-30 17:14:20 +08:00
chris48s df6c6f026d
feat: apply escaping to all string inputs (#68) 2021-03-28 11:25:47 +08:00
Frantisek Vymazal 2046b6f993
fix: enable scaling of "bare" badges as well (#66) 2020-11-30 21:08:03 +08:00
Evelyn Hathaway c150c95057
fix: add edge cases for quotes, use sanitize function for aria-label (#63) 2020-07-07 12:56:54 +08:00
Evelyn Hathaway 179a1d3c2a
feat: add accessible text alternative in SVG (#62)
* feat: accessible text alternative in SVG

* fix: change alt text strategy to support IE 11
2020-07-06 22:52:07 +08:00
amio 95ff63dbae chore: bump & cleanup dev deps 2020-05-09 14:23:28 +08:00
amio 997fcb6740 test: update test config 2019-10-03 13:39:39 +08:00
amio 0a2dd9d00e refactor: js => ts 2019-10-03 12:10:43 +08:00
amio 9543aa138d feat: support `scale` arg (badgen/badgen.net#309) 2019-10-03 10:47:22 +08:00
amio db29bba8d7 Update standard to 14 and fix styles 2019-08-21 22:58:25 +08:00
Amio 76d85b5b46 Update type definitions 2019-07-06 18:22:05 +08:00
Amio 7c0c70a5f4 Allow `subject` in type def 2019-07-06 17:54:41 +08:00
Amio 8e8cf56a9b Split utils.js 2019-07-06 15:54:28 +08:00
Amio a959b96b86 Support labelColor 2019-07-06 15:49:09 +08:00
Amio aa0061a474 subject => label 2019-07-06 15:34:14 +08:00
kuqoi / fd7a59aed6 fix: typescript cannot recognize types '.d.ts' file (#52)
* fix: typescript cannot recognize types '.d.ts' file

* fix: typescript cannot import default function
2019-03-25 15:28:46 +08:00
Amio e8afa73839 add index.d.ts 2019-01-29 21:11:39 +08:00
Amio 5fc35ca0cc use ncc & test on dist 2019-01-29 20:53:41 +08:00