Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
579 commits
Select commit Hold shift + click to select a range
cf34296
feat: add `plot/vega/base/font-weights`
kgryte Aug 22, 2025
229ce23
feat: add initial editor config implementations
kgryte Aug 22, 2025
9124ac5
feat: add initial implementation of `plot/vega/editor-config/visualiz…
kgryte Aug 22, 2025
b843de3
refactor: add steps
kgryte Aug 22, 2025
506c685
refactor: add steps
kgryte Aug 22, 2025
6c4b388
docs: update comments
kgryte Aug 22, 2025
b4c0d10
refactor: use editor configurations
kgryte Aug 22, 2025
0dca888
fix: add missing units
kgryte Aug 22, 2025
cec4834
fix: ensure correct default value resolution
kgryte Aug 22, 2025
307fa00
feat: add initial `plot/vega/editor-config/background` implementation
kgryte Aug 22, 2025
746dfc0
fix: special case `background` in order to account for empty string a…
kgryte Aug 22, 2025
76e7eb8
refactor: split transforms into separate files, thus mirroring editor…
kgryte Aug 22, 2025
6c2ab74
chore: rebuild application
kgryte Aug 22, 2025
8aa5514
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Aug 22, 2025
c546ae9
feat: add axes title route and explicitly assign to plot `config` ins…
kgryte Aug 23, 2025
ed584a7
feat: add support for parameterized routes
kgryte Aug 23, 2025
caf1c44
feat: add support for parameterized object paths
kgryte Aug 23, 2025
8f39ff8
feat: add initial support for editing axis properties
kgryte Aug 23, 2025
277185a
chore: rebuild app
kgryte Aug 23, 2025
d3f97a9
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Aug 23, 2025
8c0dbe6
chore: update copyright year
kgryte Aug 23, 2025
788e120
feat: add various axis routes
kgryte Aug 27, 2025
685fc10
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Aug 27, 2025
f5ee402
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Sep 2, 2025
1e92558
build: upgrade MathJax deps and add vega dev deps
kgryte Sep 5, 2025
de08725
refactor: upgrade to MathJax v4 for equation rendering
kgryte Sep 5, 2025
c4220a0
docs: update example output
kgryte Sep 5, 2025
33dac5b
test: fix failing tests and fix example
kgryte Sep 5, 2025
60af6d0
build: update dev deps
kgryte Sep 5, 2025
4308480
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Sep 22, 2025
dd73005
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Nov 15, 2025
0c4220e
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Dec 16, 2025
a256141
feat: add support for various axis title properties
gururaj1512 Dec 31, 2025
fb8a93b
chore: add isNumber assertion in `plot/vega/axis/ctor/lib/band-position`
Sachinn-64 Mar 7, 2026
56fd065
feat: add `plot/vega/base/assert/is-discrete-scale-name`
gururaj1512 Mar 10, 2026
51281f5
feat: add `plot/vega/base/assert/is-discretizing-scale-name`
gururaj1512 Mar 10, 2026
25f0e8c
feat: add `plot/vega/scale/discrete`
gururaj1512 Mar 10, 2026
859122f
feat: add `plot/vega/base/assert/is-discrete-scale`
gururaj1512 Mar 10, 2026
7825e06
feat: add `plot/vega/scale/discretizing`
gururaj1512 Mar 10, 2026
61608b7
test: add tests for Autosize constructor and properties
gururaj1512 Mar 11, 2026
fce5d6d
test: add tests for Title constructor and properties
gururaj1512 Mar 12, 2026
5f0c937
feat: add `plot/vega/compare/orders`
gururaj1512 Mar 12, 2026
ad8b73f
feat: add `plot/vega/base/assert/is-compare-order`
gururaj1512 Mar 12, 2026
dcd3ae4
feat: add `plot/vega/signal/reference`
gururaj1512 Mar 12, 2026
ceb5cf5
fix: add missing isNumber assertion in `plot/vega/axis/ctor/lib/*-opa…
Sachinn-64 Mar 22, 2026
4621e98
test: add tests for Padding constructor and properties
Sachinn-64 Mar 22, 2026
b830dae
feat: add `plot/vega/base/assert/is-signal-name`
Sachinn-64 Mar 22, 2026
da890f3
refactor: add equality checks to `domain-raw` and `interpolate`
Sachinn-64 Apr 2, 2026
9396d79
chore: add Mathjax as dep
kgryte Apr 14, 2026
6ef0e4f
feat!: update namespace
kgryte Apr 14, 2026
0dfee08
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Apr 14, 2026
1d16134
feat: stash `plot/ctor` in `plot/2d`
kgryte Apr 14, 2026
575c3cc
remove: remove plot/ctor package
kgryte Apr 14, 2026
f140625
feat: add initial skeleton of a line chart constructor
kgryte Apr 14, 2026
56770a6
fix: update require path
kgryte Apr 14, 2026
aeb14c7
chore: add FIXMEs
kgryte Apr 14, 2026
b359f80
build: update dep list
kgryte Apr 14, 2026
adbea38
chore: update copyright years
stdlib-bot Apr 14, 2026
9de4cd7
feat: add initial axis configuration
kgryte Apr 21, 2026
885ff1a
feat: add route for axis title opacity
kgryte Apr 21, 2026
9f0fade
feat: add support for axis title opacity menu
kgryte Apr 21, 2026
26b797d
refactor: remove hardcoded defaults
kgryte Apr 21, 2026
ab2bf94
refactor: remove hardcoded defaults
kgryte Apr 21, 2026
9f578f0
feat: add route and menu support for axis title font
gururaj1512 Apr 27, 2026
c7e2b1d
feat: add route and menu support for axis title color
gururaj1512 Apr 28, 2026
5eead7d
fix: update URL paths for some axis domain configurations
gururaj1512 Apr 29, 2026
f6760fe
feat: add `plot/vega/base/assert/is-font-weight`
Sachinn-64 May 3, 2026
93fbfc2
feat: add `plot/vega/base/assert/is-font-style`
Sachinn-64 May 3, 2026
fa696ef
test: add tests for Scale constructor and properties
Sachinn-64 May 3, 2026
20cbfba
fix: ensure domain updates correctly without refresh
gururaj1512 May 4, 2026
3a59551
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte May 4, 2026
d780b5d
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte May 4, 2026
9e434da
refactor: use `isFontStyle` and `isFontWeight` in title setters
Sachinn-64 May 5, 2026
c9056c3
feat: add route and menu support for axis domain properties
gururaj1512 May 5, 2026
f9c3374
feat: add `plot/vega/mark/interpolation-methods`
Sachinn-64 May 8, 2026
7185ece
feat: add `plot/vega/base/assert/is-mark-interpolation-method`
Sachinn-64 May 8, 2026
183af6c
feat: add `plot/vega/mark/area/orientations`
Sachinn-64 May 9, 2026
b7adf71
feat: add `plot/vega/base/assert/is-area-mark-orientation`
Sachinn-64 May 9, 2026
54dbe16
feat: add route and menu support for axis grid properties
gururaj1512 May 11, 2026
7391256
feat: add `plot/vega/axis/tick-styles`
gururaj1512 May 14, 2026
8f0b8a2
feat: add `plot/vega/base/assert/is-axis-tick-style`
gururaj1512 May 14, 2026
9b9dcc5
feat: add route and menu support for axis tick properties
gururaj1512 May 15, 2026
84befed
feat: add `plot/vega/mark/symbol/shapes`
Sachinn-64 May 15, 2026
3786fad
feat: add `plot/vega/base/assert/is-symbol-mark-shape`
Sachinn-64 May 15, 2026
86671ea
feat: add `plot/vega/base/assert/is-text-alignment`
Sachinn-64 May 16, 2026
30288ce
feat: add `plot/vega/legend/types`
Sachinn-64 May 17, 2026
14d4413
feat: add `plot/vega/base/assert/is-legend-type`
Sachinn-64 May 17, 2026
3c99d92
feat: add `plot/vega/legend/directions`
Sachinn-64 May 17, 2026
2bb77b4
feat: add `plot/vega/base/assert/is-legend-direction`
Sachinn-64 May 17, 2026
d5f4279
feat: add `plot/vega/legend/orientations`
Sachinn-64 May 17, 2026
3a999dd
feat: add `plot/vega/base/assert/is-legend-orientation`
Sachinn-64 May 17, 2026
275850a
test: add tests for Axis constructor and properties
Sachinn-64 May 19, 2026
d0b48c9
feat: add `plot/vega/base/format-types`
Sachinn-64 May 22, 2026
9612181
feat: add `plot/vega/base/assert/is-format-type`
Sachinn-64 May 22, 2026
8055618
feat: add `plot/vega/base/grid-alignments`
Sachinn-64 May 27, 2026
9f21770
feat: add `plot/vega/base/assert/is-grid-alignment`
Sachinn-64 May 27, 2026
4ab258b
feat: add route and menu support for axis title properties
gururaj1512 Jun 5, 2026
6ffe937
feat: add `plot/vega/field/ctor`
gururaj1512 Jun 8, 2026
c762e0f
feat: add `plot/vega/base/assert/is-field`
gururaj1512 Jun 8, 2026
fc5c89e
feat: add `plot/vega/base/assert/is-field-array`
gururaj1512 Jun 8, 2026
5d3cd6d
feat: add `plot/vega/transform/aggregate-operations`
gururaj1512 Jun 15, 2026
86098bc
feat: add `plot/vega/axis/label-overlaps`
gururaj1512 Jun 16, 2026
b2c42dd
feat: add route and menu support for axes label properties
gururaj1512 Jun 16, 2026
2458ce9
fix: update order of aggregate operations
gururaj1512 Jun 16, 2026
5c9157c
feat: add `plot/vega/base/stroke-joins`
Sachinn-64 Jun 20, 2026
999379c
feat: add `plot/vega/base/assert/is-stroke-join`
Sachinn-64 Jun 20, 2026
3d8ff56
fix: refresh specification when updating a visualization description
gururaj1512 Jun 26, 2026
97482bb
feat: add menu and route support for axis props
gururaj1512 Jun 28, 2026
7930752
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Jul 9, 2026
dc0cb60
feat: add `plot/vega/value/base/ctor`
Sachinn-64 Jul 10, 2026
6e0fb04
feat: add `plot/vega/transform/label/line-anchor-positions`
Sachinn-64 Jul 17, 2026
bdd9361
feat: add `plot/vega/transform/label/anchor-directions`
Sachinn-64 Jul 17, 2026
4e0a960
feat: add `plot/vega/base/assert/is-label-transform-line-anchor-posit…
Sachinn-64 Jul 17, 2026
a7dd0cf
feat: add `plot/vega/transform/label/methods`
Sachinn-64 Jul 17, 2026
37012f1
feat: add `plot/vega/base/assert/is-label-transform-anchor-direction`
Sachinn-64 Jul 17, 2026
fb99630
feat: add `plot/vega/base/assert/is-label-transform-method`
Sachinn-64 Jul 17, 2026
eea1c45
feat: add `plot/vega/mark/data-source`
kgryte Jul 21, 2026
6b6a1be
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Jul 21, 2026
ac36c73
feat: add `plot/vega/base/assert/is-mark-data-source`
kgryte Jul 21, 2026
bdbeb4c
Merge branch 'refactor/plot' of https://github.com/stdlib-js/stdlib i…
kgryte Jul 21, 2026
2a9cd01
fix: rename event name
kgryte Jul 21, 2026
2283f95
refactor!: require a data source instance
kgryte Jul 21, 2026
5b851f6
fix: update meta data
kgryte Jul 21, 2026
da4df21
feat: add `plot/vega/value/ctor`
kgryte Jul 21, 2026
a647e8e
remove: remove `plot/vega/value/base/ctor`
kgryte Jul 21, 2026
b629326
fix: add missing `properties` property and fix list of properties
kgryte Jul 21, 2026
fe8805c
feat: add `plot/vega/base/assert/is-value-reference`
kgryte Jul 21, 2026
77ed16b
feat: add `plot/vega/mark/base/encoding-set`
kgryte Jul 21, 2026
bc732ac
fix: remove unnecessary option
kgryte Jul 21, 2026
9416d75
feat: add remaining properties
kgryte Jul 21, 2026
a2c2146
feat: add `scale` support
kgryte Jul 22, 2026
a632013
refactor: add internally utility for performing brand checks
kgryte Jul 22, 2026
22c752c
feat: add `exponent` support
kgryte Jul 22, 2026
3640972
feat: add `plot/vega/mark/line/encoding-set`
kgryte Jul 22, 2026
38587b6
feat: add `plot/vega/base/assert/is-mark-encoding-set`
kgryte Jul 22, 2026
dbdb35c
feat: add `plot/vega/base/assert/is-line-mark-encoding-set`
kgryte Jul 22, 2026
e18324d
docs: fix examples
kgryte Jul 22, 2026
c492026
feat: add `plot/vega/mark/line/encoding`
kgryte Jul 22, 2026
04cb79e
feat: add `plot/vega/mark/base/encoding`
kgryte Jul 22, 2026
1a14b73
refactor: inherit from parent encoding class
kgryte Jul 22, 2026
1a69c44
refactor: defer internal property handling to parent class methods
kgryte Jul 22, 2026
0bbae1a
feat: add `plot/vega/base/assert/is-mark-encoding`
kgryte Jul 22, 2026
7a4758b
feat: add `plot/vega/base/assert/is-line-mark-encoding`
kgryte Jul 22, 2026
16f8eda
refactor!: require encoding instance
kgryte Jul 22, 2026
591ef00
fix: update error message
kgryte Jul 22, 2026
6fd4bf4
docs: reorder options and fix example
kgryte Jul 22, 2026
d69de02
feat: add `plot/vega/mark/line/ctor`
kgryte Jul 22, 2026
c802d8c
docs: update examples
kgryte Jul 22, 2026
c6cf231
refactor: create encoding instances
kgryte Jul 22, 2026
025c9a7
test: fix failing test
kgryte Jul 22, 2026
5ecaafe
refactor: remove FIXMEs
kgryte Jul 22, 2026
2829002
docs: update example
kgryte Jul 22, 2026
40dfe00
feat: add `plot/base/assert/is-line-style-array`
kgryte Jul 22, 2026
067fae9
style: disable lint rule
kgryte Jul 22, 2026
87ed2f0
feat: add support for line properties
kgryte Jul 22, 2026
25b46fe
fix: use correct property name
kgryte Jul 22, 2026
4afa53f
feat: add remaning properties to `plot/vega/value/ctor`
Sachinn-64 Jul 22, 2026
c529642
style: disable lint rule
kgryte Jul 29, 2026
41c5ca5
feat: add `plot/vega/mark/symbol/encoding-set`
Sachinn-64 Jul 29, 2026
8ab16d3
feat: add `plot/vega/base/assert/is-symbol-mark-encoding-set`
Sachinn-64 Jul 29, 2026
d2fe09d
docs: update examples
kgryte Jul 29, 2026
1646187
feat: add `plot/vega/mark/symbol/encoding`
Sachinn-64 Jul 29, 2026
19d2efc
feat: add `plot/vega/base/assert-is-symbol-mark-encoding`
Sachinn-64 Jul 29, 2026
fa10acb
feat: add `plot/vega/mark/rect/encoding-set`
Sachinn-64 Jul 29, 2026
1124778
feat: add `plot/vega/base/assert/is-rect-mark-encoding-set`
Sachinn-64 Jul 29, 2026
3105e87
feat: add `plot/vega/mark/symbol/ctor`
Sachinn-64 Jul 29, 2026
226f9c3
feat: add `plot/vega/mark/rect/encoding`
Sachinn-64 Jul 29, 2026
1964d37
feat: add `plot/vega/base/assert/is-rect-mark-encoding`
Sachinn-64 Jul 29, 2026
c17224d
feat: add `plot/vega/mark/rect/ctor`
Sachinn-64 Jul 29, 2026
045b9a8
style: disable lint rule
kgryte Jul 29, 2026
9435bd9
fix: avoid instantiating new mark instances on each render
kgryte Jul 29, 2026
2c8386d
docs: fix return annotations
Sachinn-64 Jul 30, 2026
39e84b5
feat: add `plot/vega/mark/arc/encoding-set`
Sachinn-64 Jul 30, 2026
c6c21de
feat: add `plot/vega/base/assert/is-arc-mark-encoding-set`
Sachinn-64 Jul 30, 2026
768a4ca
feat: add `plot/vega/mark/arc/encoding`
Sachinn-64 Jul 30, 2026
2f4e3d5
feat: add `plot/vega/base/assert/is-arc-mark-encoding`
Sachinn-64 Jul 30, 2026
c16b07f
feat: add `plot/vega/mark/arc/ctor`
Sachinn-64 Jul 30, 2026
6b84c12
docs: fix docs
kgryte Jul 31, 2026
faf8764
feat: add `plot/vega/mark/area/encoding-set`
Sachinn-64 Jul 31, 2026
ee40235
feat: add `plot/vega/base/assert/is-area-mark-encoding-set`
Sachinn-64 Jul 31, 2026
7431628
feat: add `plot/vega/mark/area/encoding`
Sachinn-64 Jul 31, 2026
e4ccb53
feat: add `plot/vega/base/assert/is-area-mark-encoding`
Sachinn-64 Jul 31, 2026
56e24b3
feat: add `plot/vega/mark/area/ctor`
Sachinn-64 Jul 31, 2026
716da0b
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Jul 31, 2026
7af757a
feat: add `plot/vega/mark/path/encoding-set`
Sachinn-64 Aug 1, 2026
579a883
feat: add `plot/vega/base/assert/is-path-mark-encoding-set`
Sachinn-64 Aug 1, 2026
0b0d64e
feat: add `plot/vega/mark/path/encoding`
Sachinn-64 Aug 1, 2026
a772690
feat: add `plot/vega/base/assert/is-path-mark-encoding`
Sachinn-64 Aug 1, 2026
70dd801
feat: add `plot/vega/mark/path/ctor`
Sachinn-64 Aug 1, 2026
9f75e47
feat: add `plot/vega/mark/text/encoding-set`
Sachinn-64 Aug 8, 2026
e2ba9b4
feat: add `plot/vega/base/assert/is-text-mark-encoding-set`
Sachinn-64 Aug 8, 2026
ae1f2db
feat: add `plot/vega/mark/text/encoding`
Sachinn-64 Aug 8, 2026
edc2a78
feat: add `plot/vega/base/assert/is-text-mark-encoding`
Sachinn-64 Aug 8, 2026
bdcbe34
feat: add `plot/vega/mark/text/ctor`
Sachinn-64 Aug 8, 2026
a0fe154
feat: add `plot/vega/mark/image/encoding-set`
Sachinn-64 Aug 8, 2026
1a3e1e0
feat: add `plot/vega/base/assert/is-image-mark-encoding-set`
Sachinn-64 Aug 8, 2026
045d1ad
feat: add `plot/vega/mark/image/encoding`
Sachinn-64 Aug 8, 2026
4b59930
feat: add `plot/vega/base/assert/is-image-mark-encoding`
Sachinn-64 Aug 8, 2026
1ab97bb
feat: add `plot/vega/mark/image/ctor`
Sachinn-64 Aug 8, 2026
fae1e51
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Aug 8, 2026
d86f5aa
feat: add `plot/vega/mark/trail/encoding-set`
Sachinn-64 Aug 9, 2026
86048a5
feat: add `plot/vega/base/assert/is-trail-mark-encoding-set`
Sachinn-64 Aug 9, 2026
c233357
feat: add `plot/vega/mark/trail/encoding`
Sachinn-64 Aug 9, 2026
58209e3
feat: add `plot/vega/base/assert/is-trail-mark-encoding`
Sachinn-64 Aug 9, 2026
674d8b8
feat: add `plot/vega/mark/trail/ctor`
Sachinn-64 Aug 9, 2026
67e1a10
feat: add `plot/vega/mark/rule/encoding-set`
Sachinn-64 Aug 9, 2026
f925efa
feat: add `plot/vega/base/assert/is-rule-mark-encoding-set`
Sachinn-64 Aug 9, 2026
680ba2c
feat: add `plot/vega/mark/rule/encoding`
Sachinn-64 Aug 9, 2026
6443dae
feat: add `plot/vega/base/assert/is-rule-mark-encoding`
Sachinn-64 Aug 9, 2026
3fbeea4
feat: add`plot/vega/mark/rule/ctor`
Sachinn-64 Aug 9, 2026
0f28652
feat: add `plot/vega/legend/ctor`
Sachinn-64 Aug 10, 2026
9ee3327
docs: update description
kgryte Aug 10, 2026
3588c40
docs: update example
kgryte Aug 10, 2026
ef0f5c7
refactor: force full refresh on patch
kgryte Aug 10, 2026
b1299ad
chore: rebuild bundle
kgryte Aug 10, 2026
a3ec861
docs: fix description
kgryte Aug 10, 2026
eb0694e
chore: add FIXME and TODO
kgryte Aug 11, 2026
9ea3b59
refactor: remove defaults for baselines and title
kgryte Aug 12, 2026
f12187d
refactor: set default values for axis properties
kgryte Aug 12, 2026
0da2efa
feat: add legend support and fix state synchronization bugs
kgryte Aug 12, 2026
9aaec2e
feat: add `plot/base/symbol-aliases`
Sachinn-64 Aug 14, 2026
bebcf40
feat: add `plot/base/symbol-shorthands`
Sachinn-64 Aug 14, 2026
1acc8dd
feat: add `plot/base/symbol2shape`
Sachinn-64 Aug 14, 2026
2a3fe97
feat: add `plot/base/symbol2alias`
Sachinn-64 Aug 14, 2026
689fa2b
feat: add `plot/base/symbols2aliases`
Sachinn-64 Aug 15, 2026
735415d
feat: add `plot/base/symbols2shapes`
Sachinn-64 Aug 15, 2026
910e5e3
feat: add `plot/base/assert/is-symbol-shorthand`
Sachinn-64 Aug 15, 2026
e3246b6
feat: add `plot/base/symbol2shorthand`
Sachinn-64 Aug 15, 2026
cce1dc3
feat: add `plot/base/symbols2shorthands`
Sachinn-64 Aug 15, 2026
74a44c1
feat: add `plot/base/assert/is-symbol-alias`
Sachinn-64 Aug 15, 2026
2fc832f
feat: add `plot/base/assert/is-symbol`
Sachinn-64 Aug 15, 2026
084a6b1
feat: add `plot/base/assert/is-symbol-array`
Sachinn-64 Aug 15, 2026
9c75f18
docs: fix description
kgryte Aug 16, 2026
189cac0
Merge branch 'refactor/plot' of https://github.com/stdlib-js/stdlib i…
kgryte Aug 16, 2026
1e99f36
refactor: svg path of dot
Sachinn-64 Aug 22, 2026
e679f8c
Merge branch 'develop' into refactor/plot
kgryte Aug 22, 2026
d447060
feat: add initial route and menu support for legend properties
gururaj1512 Sep 26, 2026
793b1e1
fix: ensure subclass properties are properly serialized
kgryte Sep 28, 2026
1992494
feat: add route and menu support for legend title properties
gururaj1512 Sep 30, 2026
126f2f1
style: add whitespace
kgryte Sep 30, 2026
a268827
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into re…
kgryte Sep 30, 2026
bac4bb7
feat: add route and menu support to legend label properties
gururaj1512 Oct 29, 2026
b48a072
feat: add route and menu support to legend symbol properties
Sachinn-64 Oct 29, 2026
dd426cf
Merge branch 'develop' into refactor/plot
kgryte Oct 29, 2026
54ae0db
feat: add docs, tests, and benchmarks to `plot/charts/line/ctor`
Sachinn-64 Oct 29, 2026
5bbcc6c
fix: use correct package name
Sachinn-64 Oct 29, 2026
2fa98aa
docs: add docs and benchmarks to `plot/vega/padding/ctor`
Sachinn-64 Oct 29, 2026
71bba69
feat: add route and menu support for legend gradient properties
Sachinn-64 Oct 29, 2026
a225dd2
docs: add docs and benchmarks to `plot/vega/autosize/ctor`
Sachinn-64 Oct 30, 2026
92fb50d
docs: add docs and benchmarks to `plot/vega/title/ctor`
Sachinn-64 Oct 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion etc/npm/deps.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
acorn@"^8.1.0" acorn-loose@"^8.0.2" acorn-walk@"^8.0.2" d3-format@"^1.0.0" d3-scale@"^1.0.0" d3-shape@"^1.0.0" d3-time-format@"^2.0.0" debug@"^2.6.9" glob@"^7.0.5" minimist@"^1.2.0" readable-stream@"^2.1.4" resolve@"^1.1.7" vdom-to-html@"^2.3.0" virtual-dom@"^2.1.1" 0x@"^4.10.2" @cspell/eslint-plugin@"^8.8.0" @commitlint/cli@"^17.4.4" @commitlint/cz-commitlint@"^17.4.4" @conventional-commits/parser@"^0.4.1" @kaciras/deasync@"1.1.0" @types/node@"^13.9.0" @typescript-eslint/parser@"^8.57.0" @typescript-eslint/eslint-plugin@"^8.57.0" ajv@"^5.2.2" browser-pack-flat@"^3.0.0" browserify@"^17.0.0" bundle-collapser@"^1.3.0" c8@"^7.12.0" chai@"^3.5.0" cheerio@"^1.0.0-rc.12" commitizen@"^4.3.0" common-shakeify@"^0.6.0" conventional-changelog-conventionalcommits@"^5.0.0" doctrine@"^3.0.0" editorconfig-checker@"^6.0.0" envify@"^4.0.0" @stylistic/eslint-plugin-ts@"^2.13.0" eslint@"^8.57.0" eslint-plugin-n@"^17.17.0" eslint-plugin-expect-type@"^0.2.3" eslint-plugin-import@"^2.29.0" eslint-plugin-jsdoc@"^46.8.2" eslint-plugin-stdlib@"file:./etc/eslint/plugin" globals@"^16.1.0" exorcist@"^2.0.0" factor-bundle@"^2.5.0" gh-pages@"git+https://github.com/Planeshifter/gh-pages.git#main" inquirer@"^8.0.0" jscodeshift@"^0.15.0" jsdoc@"^3.4.0" lunr@"^2.3.9" mathjax-node@"^2.0.1" mathjax-node-sre@"^3.0.0" mkdirp@"^0.5.1" mustache@"^4.0.0" parse-link-header@"^1.0.1" plato@"^1.5.0" process@"^0.11.10" proxyquire@"^2.0.0" proxyquire-universal@"^2.0.0" proxyquireify@"^3.1.1" read-installed@"^4.0.3" rehype@"^9.0.0" rehype-highlight@"^3.0.0" remark@"^11.0.1" remark-cli@"^7.0.0" remark-frontmatter@"^1.2.0" remark-html@"^10.0.0" remark-lint@"^6.0.0" remark-lint-blockquote-indentation@"^1.0.0" remark-lint-checkbox-character-style@"^1.0.0" remark-lint-checkbox-content-indent@"^1.0.0" remark-lint-code-block-style@"^1.0.0" remark-lint-definition-case@"^1.0.0" remark-lint-definition-spacing@"^1.0.0" remark-lint-emphasis-marker@"^1.0.0" remark-lint-fenced-code-flag@"^1.0.0" remark-lint-fenced-code-marker@"^1.0.0" remark-lint-file-extension@"^1.0.0" remark-lint-final-definition@"^1.0.0" remark-lint-final-newline@"^1.0.0" remark-lint-first-heading-level@"^1.1.0" remark-lint-hard-break-spaces@"^1.0.1" remark-lint-heading-increment@"^1.0.0" remark-lint-heading-style@"^1.0.0" remark-lint-linebreak-style@"^1.0.0" remark-lint-link-title-style@"^1.0.0" remark-lint-list-item-bullet-indent@"^1.0.0" remark-lint-list-item-content-indent@"^1.0.0" remark-lint-list-item-indent@"^1.0.0" remark-lint-list-item-spacing@"^1.1.0" remark-lint-maximum-heading-length@"^1.0.0" remark-lint-maximum-line-length@"^1.0.0" remark-lint-no-auto-link-without-protocol@"^1.0.0" remark-lint-no-blockquote-without-marker@"^2.0.0" remark-lint-no-consecutive-blank-lines@"^1.0.0" remark-lint-no-duplicate-definitions@"^1.0.0" remark-lint-no-duplicate-headings@"^1.0.0" remark-lint-no-duplicate-headings-in-section@"^1.0.0" remark-lint-no-emphasis-as-heading@"^1.0.0" remark-lint-no-empty-url@"^1.0.1" remark-lint-no-file-name-articles@"^1.0.0" remark-lint-no-file-name-consecutive-dashes@"^1.0.0" remark-lint-no-file-name-irregular-characters@"^1.0.0" remark-lint-no-file-name-mixed-case@"^1.0.0" remark-lint-no-file-name-outer-dashes@"^1.0.1" remark-lint-no-heading-content-indent@"^1.0.0" remark-lint-no-heading-indent@"^1.0.0" remark-lint-no-heading-like-paragraph@"^1.0.0" remark-lint-no-heading-punctuation@"^1.0.0" remark-lint-no-html@"^1.0.0" remark-lint-no-inline-padding@"^1.0.0" remark-lint-no-literal-urls@"^1.0.0" remark-lint-no-missing-blank-lines@"^1.0.0" remark-lint-no-multiple-toplevel-headings@"^1.0.0" remark-lint-no-paragraph-content-indent@"^1.0.1" remark-lint-no-reference-like-url@"^1.0.0" remark-lint-no-shell-dollars@"^1.0.0" remark-lint-no-shortcut-reference-image@"^1.0.0" remark-lint-no-shortcut-reference-link@"^1.0.1" remark-lint-no-table-indentation@"^1.0.0" remark-lint-no-tabs@"^1.0.0" remark-lint-no-trailing-spaces@"^3.0.2" remark-lint-no-undefined-references@"^1.0.0" remark-lint-no-unused-definitions@"^1.0.0" remark-lint-ordered-list-marker-style@"^1.0.0" remark-lint-ordered-list-marker-value@"^1.0.0" remark-lint-rule-style@"^1.0.0" remark-lint-strong-marker@"^1.0.0" remark-lint-table-cell-padding@"^1.0.0" remark-lint-table-pipe-alignment@"^1.0.0" remark-lint-table-pipes@"^1.0.0" remark-lint-unordered-list-marker-style@"^1.0.0" remark-slug@"^5.0.0" remark-unlink@"^2.0.0" remark-validate-links@"^9.0.1" remark-vdom@"^8.0.0" semver@"^6.0.0" source-map-explorer@"^2.5.3" spdx-license-ids@"^3.0.0" tap-min@"git+https://github.com/Planeshifter/tap-min.git" tap-spec@"5.x.x" tap-summary@"^4.0.0" tap-xunit@"^2.2.0" tape@"git+https://github.com/kgryte/tape.git#fix/globby" to-vfile@"^6.0.0" typedoc@"git+https://github.com/kgryte/typedoc.git#0.16.11-patch" typescript@"4.9.5" uglify-js@"^3.17.4" uglifyify@"^5.0.0" unified-lint-rule@"^1.0.1" unist-util-visit@"^2.0.0" unist-util-visit-parents@"^3.1.1" yaml@"^1.0.0" node-gyp@"^9.3.1"
acorn@"^8.1.0" acorn-loose@"^8.0.2" acorn-walk@"^8.0.2" d3-format@"^1.0.0" d3-scale@"^1.0.0" d3-shape@"^1.0.0" d3-time-format@"^2.0.0" debug@"^2.6.9" glob@"^7.0.5" minimist@"^1.2.0" readable-stream@"^2.1.4" resolve@"^1.1.7" vdom-to-html@"^2.3.0" virtual-dom@"^2.1.1" @babel/cli@"^7.28.0" @babel/core@"^7.28.0" @babel/preset-env@"^7.28.0" @commitlint/cli@"^17.4.4" @commitlint/cz-commitlint@"^17.4.4" @conventional-commits/parser@"^0.4.1" @cspell/eslint-plugin@"^8.8.0" @kaciras/deasync@"^1.0.1" @mathjax/src@"^4.0.0" @types/node@"^13.9.0" @typescript-eslint/eslint-plugin@"^6.9.1" @typescript-eslint/parser@"^6.9.1" 0x@"^4.10.2" ajv@"^5.2.2" browser-pack-flat@"^3.0.0" browserify@"^17.0.0" bundle-collapser@"^1.3.0" c8@"^7.12.0" chai@"^3.5.0" cheerio@"^1.0.0-rc.12" commitizen@"^4.3.0" common-shakeify@"^0.6.0" conventional-changelog-conventionalcommits@"^5.0.0" doctrine@"^3.0.0" editorconfig-checker@"^6.0.0" envify@"^4.0.0" eslint@"^8.57.0" eslint-plugin-n@"^17.17.0" eslint-plugin-expect-type@"^0.2.3" eslint-plugin-import@"^2.29.0" eslint-plugin-jsdoc@"^46.8.2" eslint-plugin-stdlib@"file:./etc/eslint/plugin" exorcist@"^2.0.0" factor-bundle@"^2.5.0" gh-pages@"git+https://github.com/Planeshifter/gh-pages.git#main" inquirer@"^8.0.0" jscodeshift@"^0.15.0" jsdoc@"^3.4.0" lunr@"^2.3.9" mathjax@"^4.0.0" mkdirp@"^0.5.1" mustache@"^4.0.0" parse-link-header@"^1.0.1" plato@"^1.5.0" process@"^0.11.10" proxyquire@"^2.0.0" proxyquire-universal@"^2.0.0" proxyquireify@"^3.1.1" read-installed@"^4.0.3" rehype@"^9.0.0" rehype-highlight@"^3.0.0" remark@"^11.0.1" remark-cli@"^7.0.0" remark-frontmatter@"^1.2.0" remark-html@"^10.0.0" remark-lint@"^6.0.0" remark-lint-blockquote-indentation@"^1.0.0" remark-lint-checkbox-character-style@"^1.0.0" remark-lint-checkbox-content-indent@"^1.0.0" remark-lint-code-block-style@"^1.0.0" remark-lint-definition-case@"^1.0.0" remark-lint-definition-spacing@"^1.0.0" remark-lint-emphasis-marker@"^1.0.0" remark-lint-fenced-code-flag@"^1.0.0" remark-lint-fenced-code-marker@"^1.0.0" remark-lint-file-extension@"^1.0.0" remark-lint-final-definition@"^1.0.0" remark-lint-final-newline@"^1.0.0" remark-lint-first-heading-level@"^1.1.0" remark-lint-hard-break-spaces@"^1.0.1" remark-lint-heading-increment@"^1.0.0" remark-lint-heading-style@"^1.0.0" remark-lint-linebreak-style@"^1.0.0" remark-lint-link-title-style@"^1.0.0" remark-lint-list-item-bullet-indent@"^1.0.0" remark-lint-list-item-content-indent@"^1.0.0" remark-lint-list-item-indent@"^1.0.0" remark-lint-list-item-spacing@"^1.1.0" remark-lint-maximum-heading-length@"^1.0.0" remark-lint-maximum-line-length@"^1.0.0" remark-lint-no-auto-link-without-protocol@"^1.0.0" remark-lint-no-blockquote-without-marker@"^2.0.0" remark-lint-no-consecutive-blank-lines@"^1.0.0" remark-lint-no-duplicate-definitions@"^1.0.0" remark-lint-no-duplicate-headings@"^1.0.0" remark-lint-no-duplicate-headings-in-section@"^1.0.0" remark-lint-no-emphasis-as-heading@"^1.0.0" remark-lint-no-empty-url@"^1.0.1" remark-lint-no-file-name-articles@"^1.0.0" remark-lint-no-file-name-consecutive-dashes@"^1.0.0" remark-lint-no-file-name-irregular-characters@"^1.0.0" remark-lint-no-file-name-mixed-case@"^1.0.0" remark-lint-no-file-name-outer-dashes@"^1.0.1" remark-lint-no-heading-content-indent@"^1.0.0" remark-lint-no-heading-indent@"^1.0.0" remark-lint-no-heading-like-paragraph@"^1.0.0" remark-lint-no-heading-punctuation@"^1.0.0" remark-lint-no-html@"^1.0.0" remark-lint-no-inline-padding@"^1.0.0" remark-lint-no-literal-urls@"^1.0.0" remark-lint-no-missing-blank-lines@"^1.0.0" remark-lint-no-multiple-toplevel-headings@"^1.0.0" remark-lint-no-paragraph-content-indent@"^1.0.1" remark-lint-no-reference-like-url@"^1.0.0" remark-lint-no-shell-dollars@"^1.0.0" remark-lint-no-shortcut-reference-image@"^1.0.0" remark-lint-no-shortcut-reference-link@"^1.0.1" remark-lint-no-table-indentation@"^1.0.0" remark-lint-no-tabs@"^1.0.0" remark-lint-no-trailing-spaces@"^3.0.2" remark-lint-no-undefined-references@"^1.0.0" remark-lint-no-unused-definitions@"^1.0.0" remark-lint-ordered-list-marker-style@"^1.0.0" remark-lint-ordered-list-marker-value@"^1.0.0" remark-lint-rule-style@"^1.0.0" remark-lint-strong-marker@"^1.0.0" remark-lint-table-cell-padding@"^1.0.0" remark-lint-table-pipe-alignment@"^1.0.0" remark-lint-table-pipes@"^1.0.0" remark-lint-unordered-list-marker-style@"^1.0.0" remark-slug@"^5.0.0" remark-unlink@"^2.0.0" remark-validate-links@"^9.0.1" remark-vdom@"^8.0.0" semver@"^6.0.0" source-map-explorer@"^2.5.3" spdx-license-ids@"^3.0.0" speech-rule-engine@"^5.0.0-beta.1" tap-min@"git+https://github.com/Planeshifter/tap-min.git" tap-spec@"5.x.x" tap-summary@"^4.0.0" tap-xunit@"^2.2.0" tape@"git+https://github.com/kgryte/tape.git#fix/globby" to-vfile@"^6.0.0" typedoc@"git+https://github.com/kgryte/typedoc.git#0.16.11-patch" typescript@"4.3.5" uglify-js@"^3.17.4" uglifyify@"^5.0.0" unified-lint-rule@"^1.0.1" unist-util-visit@"^2.0.0" unist-util-visit-parents@"^3.1.1" vega@"^6.1.2" vega-embed@"^7.0.2" vega-lite@"^6.2.0" yaml@"^1.0.0" node-gyp@"^9.3.1"
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var render = require( './render.js' );
* var opts = {
* 'className': 'equation',
* 'align': 'center',
* 'raw': '\\operatorname{erf}(x) = \\frac{2}{\\sqrt\\pi}\\int_0^x e^{-t^2}\\,\\mathrm dt'
* 'raw': '\\operatorname{erf}(x) = \\frac{2}{\\sqrt\\pi}\\int_0^x e^{-t^2}\\,\\mathrm dt',
* 'label': 'eqn:erf'
* };
* createElement( opts, done );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
<div class="equation" align="center" data-raw-text="y = mx + b" data-equation="eq:line">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="11.462ex" height="2.509ex" style="vertical-align: -0.671ex;" viewBox="0 -791.3 4935 1080.4" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" aria-labelledby="MathJax-SVG-1-Title">
<title id="MathJax-SVG-1-Title">y equals m x plus b</title>
<defs aria-hidden="true">
<path stroke-width="1" id="E1-MJMATHI-79" d="M21 287Q21 301 36 335T84 406T158 442Q199 442 224 419T250 355Q248 336 247 334Q247 331 231 288T198 191T182 105Q182 62 196 45T238 27Q261 27 281 38T312 61T339 94Q339 95 344 114T358 173T377 247Q415 397 419 404Q432 431 462 431Q475 431 483 424T494 412T496 403Q496 390 447 193T391 -23Q363 -106 294 -155T156 -205Q111 -205 77 -183T43 -117Q43 -95 50 -80T69 -58T89 -48T106 -45Q150 -45 150 -87Q150 -107 138 -122T115 -142T102 -147L99 -148Q101 -153 118 -160T152 -167H160Q177 -167 186 -165Q219 -156 247 -127T290 -65T313 -9T321 21L315 17Q309 13 296 6T270 -6Q250 -11 231 -11Q185 -11 150 11T104 82Q103 89 103 113Q103 170 138 262T173 379Q173 380 173 381Q173 390 173 393T169 400T158 404H154Q131 404 112 385T82 344T65 302T57 280Q55 278 41 278H27Q21 284 21 287Z"></path>
<path stroke-width="1" id="E1-MJMAIN-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"></path>
<path stroke-width="1" id="E1-MJMATHI-6D" d="M21 287Q22 293 24 303T36 341T56 388T88 425T132 442T175 435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 853 130Q845 101 831 73T785 17T716 -10Q669 -10 648 17T627 73Q627 92 663 193T700 345Q700 404 656 404H651Q565 404 506 303L499 291L466 157Q433 26 428 16Q415 -11 385 -11Q372 -11 364 -4T353 8T350 18Q350 29 384 161L420 307Q423 322 423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 181Q151 335 151 342Q154 357 154 369Q154 405 129 405Q107 405 92 377T69 316T57 280Q55 278 41 278H27Q21 284 21 287Z"></path>
<path stroke-width="1" id="E1-MJMATHI-78" d="M52 289Q59 331 106 386T222 442Q257 442 286 424T329 379Q371 442 430 442Q467 442 494 420T522 361Q522 332 508 314T481 292T458 288Q439 288 427 299T415 328Q415 374 465 391Q454 404 425 404Q412 404 406 402Q368 386 350 336Q290 115 290 78Q290 50 306 38T341 26Q378 26 414 59T463 140Q466 150 469 151T485 153H489Q504 153 504 145Q504 144 502 134Q486 77 440 33T333 -11Q263 -11 227 52Q186 -10 133 -10H127Q78 -10 57 16T35 71Q35 103 54 123T99 143Q142 143 142 101Q142 81 130 66T107 46T94 41L91 40Q91 39 97 36T113 29T132 26Q168 26 194 71Q203 87 217 139T245 247T261 313Q266 340 266 352Q266 380 251 392T217 404Q177 404 142 372T93 290Q91 281 88 280T72 278H58Q52 284 52 289Z"></path>
<path stroke-width="1" id="E1-MJMAIN-2B" d="M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z"></path>
<path stroke-width="1" id="E1-MJMATHI-62" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"></path>
</defs>
<g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)" aria-hidden="true">
<use xlink:href="#E1-MJMATHI-79" x="0" y="0"></use>
<use xlink:href="#E1-MJMAIN-3D" x="775" y="0"></use>
<use xlink:href="#E1-MJMATHI-6D" x="1831" y="0"></use>
<use xlink:href="#E1-MJMATHI-78" x="2710" y="0"></use>
<use xlink:href="#E1-MJMAIN-2B" x="3504" y="0"></use>
<use xlink:href="#E1-MJMATHI-62" x="4505" y="0"></use>
</g>
</svg>
<svg style="vertical-align: -0.464ex;" xmlns="http://www.w3.org/2000/svg" width="11.143ex" height="2.034ex" role="img" focusable="false" viewBox="0 -694 4925 899" xmlns:xlink="http://www.w3.org/1999/xlink" aria-label="y equals m x plus b"><defs><path id="MJX-1-NCM-I-1D466" d="M163 442C118 442 83 417 58 367C39 328 29 301 29 286C29 277 34 272 45 272C59 272 60 278 64 293C87 372 119 412 160 412C173 412 180 403 180 385C180 369 175 346 164 317C126 214 107 145 107 108C107 32 154-13 231-13C264-13 295-1 323 23C288-109 233-175 158-175C124-175 101-164 89-142C129-140 149-121 149-85C149-60 136-47 109-47C72-47 50-78 50-115C50-170 100-205 158-205C273-205 367-99 392-1L486 377C489 388 490 396 490 401C490 421 479 431 458 431C442 431 429 423 420 408C414 387 409 369 406 354L342 97C332 61 279 16 234 16C196 16 177 41 177 92C177 134 194 198 227 284C240 319 247 343 247 357C247 406 212 442 163 442Z"/><path id="MJX-1-NCM-N-3D" d="M698 367L80 367C64 367 56 359 56 344C56 329 64 321 80 321L698 321C714 321 722 329 722 344C722 356 711 367 698 367M698 179L80 179C64 179 56 171 56 156C56 141 64 133 80 133L698 133C714 133 722 141 722 156C722 169 711 179 698 179Z"/><path id="MJX-1-NCM-I-1D45A" d="M657 442C596 442 543 412 498 353C489 412 451 442 383 442C324 442 273 416 231 363C223 407 188 442 137 442C96 442 66 409 45 344C34 312 29 293 29 287C29 278 34 273 45 273C50 273 53 274 56 276C61 285 64 292 66 299C84 375 107 413 134 413C152 413 161 399 161 371C161 358 156 331 145 290L88 63C84 51 79 25 79 19C79-1 90-11 111-11C131-11 145-1 152 19C153 24 160 49 171 92L192 181L222 295C233 318 250 341 272 365C301 397 337 413 380 413C413 413 429 391 429 348C429 335 424 308 414 267L387 153C380 124 364 64 356 32C355 25 354 21 354 19C354-1 365-11 387-11C398-11 406-8 413-1C428 14 429 21 435 48L494 285C497 298 511 321 535 353C565 393 605 413 654 413C687 413 703 391 703 348C703 309 683 236 642 129C633 106 629 87 629 74C629 25 666-11 714-11C759-11 793 14 818 64C838 104 848 131 848 144C848 153 843 158 832 158C825 157 818 148 813 137C791 58 759 18 716 18C703 18 696 28 696 47C696 62 702 84 714 115C755 222 775 295 775 333C775 404 728 442 657 442Z"/><path id="MJX-1-NCM-I-1D465" d="M527 373C527 419 482 442 432 442C389 442 355 419 329 373C308 419 273 442 222 442C173 442 133 419 101 374C74 335 60 306 60 287C60 278 65 273 75 273C84 273 90 278 92 287C111 345 153 413 220 413C253 413 269 392 269 351C269 330 251 252 216 118C199 51 169 18 126 18C112 18 99 21 88 26C114 36 127 54 127 80C127 106 114 119 87 119C54 119 29 91 29 58C29 12 76-11 125-11C167-11 201 12 228 58C247 12 283-11 335-11C383-11 423 12 455 57C482 96 496 125 496 144C496 153 491 158 481 158C472 158 467 153 464 144C447 87 402 18 337 18C304 18 287 38 287 79C287 92 292 120 303 165L337 300C356 375 387 413 431 413C445 413 458 410 469 405C442 396 429 378 429 351C429 325 443 312 470 312C502 312 527 341 527 373Z"/><path id="MJX-1-NCM-N-2B" d="M698 274L413 274L413 559C413 575 405 583 389 583C373 583 365 575 365 559L365 274L80 274C64 274 56 266 56 250C56 234 64 226 80 226L365 226L365-59C365-75 373-83 389-83C405-83 413-75 413-59L413 226L698 226C714 226 722 234 722 250C722 263 711 274 698 274Z"/><path id="MJX-1-NCM-I-1D44F" d="M281 445C245 445 209 428 174 394L243 679C241 688 238 694 226 694C193 694 120 685 107 684C92 682 84 675 84 660C84 650 93 645 112 645C131 645 157 646 157 632C157 628 152 608 143 571L63 249C52 207 47 173 47 148C47 62 93-11 175-11C240-11 297 22 347 89C392 151 415 216 415 283C415 370 364 445 281 445M279 415C318 415 337 385 337 326C337 299 331 263 319 218C297 133 268 75 233 44C213 27 194 19 175 19C134 19 114 51 114 115C114 137 119 170 129 214L151 304C154 319 159 330 165 338C204 389 242 415 279 415Z"/></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="scale(1,-1)"><g><g><use xlink:href="#MJX-1-NCM-I-1D466"/></g><g transform="translate(767.8,0)"><use xlink:href="#MJX-1-NCM-N-3D"/></g><g transform="translate(1823.6,0)"><use xlink:href="#MJX-1-NCM-I-1D45A"/></g><g transform="translate(2701.6,0)"><use xlink:href="#MJX-1-NCM-I-1D465"/></g><g transform="translate(3495.8,0)"><use xlink:href="#MJX-1-NCM-N-2B"/></g><g transform="translate(4496,0)"><use xlink:href="#MJX-1-NCM-I-1D44F"/></g></g></g></svg>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ tape( 'the function returns an HTML string for inlining an SVG equation in Markd
});

tape( 'if not provided an option, the function will set a corresponding HTML attribute to either a default value (if one exists) or an empty string', function test( t ) {
var expected = '<div class="equation" align="center" data-raw-text="" data-equation="">\n <svg xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0.343ex" style="vertical-align: -0.171ex;" viewBox="0 -73.8 0 147.5" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" aria-labelledby="MathJax-SVG-1-Title">\n<title id="MathJax-SVG-1-Title"></title>\n<defs aria-hidden="true"></defs>\n<g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)" aria-hidden="true"></g>\n</svg>\n</div>';
var expected = '<div class="equation" align="center" data-raw-text="" data-equation="">\n <svg style="vertical-align: 0;" xmlns="http://www.w3.org/2000/svg" width="0.036ex" height="0.036ex" role="img" focusable="false" viewBox="0 0 16 16" xmlns:xlink="http://www.w3.org/1999/xlink" aria-label=""><defs/><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="scale(1,-1)"><g/></g></svg>\n</div>';

createElement( done );

Expand Down
Loading
Loading