Alexander Wang
64daf4643f
use right AST
2023-06-16 16:23:57 -07:00
Alexander Wang
8b8afb2638
fix idval edge case
2023-06-12 11:26:51 -07:00
Gavin Nishizawa
324a38d285
update test
2023-06-09 14:11:56 -07:00
Alexander Wang
a283e619bb
prevent bad constraint usage
2023-06-08 11:07:46 -07:00
Alexander Wang
538812f928
Merge branch 'master' into imports
2023-06-07 15:38:52 -07:00
Anmol Sethi
986f069c18
d2ir: Fix link paths to be unquoted strings
...
Allows for simpler manipulation.
2023-06-06 22:37:56 -07:00
Alexander Wang
0d4392eac2
add class array footgun
2023-06-06 20:24:47 -07:00
Anmol Sethi
35bf5d2c41
d2parser: Fix non file map range not including last brace
2023-06-06 15:48:14 -07:00
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
...
Works as so:
index.d2:
```d2
x: @x
```
x.d2:
```d2
label: meow
shape: circle
```
TODO:
- [ ] Correctly import into fields by handling the scenarios/steps overlay.
- And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
satoqz
665844db39
TA=1
2023-06-03 14:05:18 +02:00
Bernard Xie
cd09aba54f
trim space
2023-06-02 10:42:44 -07:00
Bernard Xie
1a6b1a4084
add test
2023-06-01 18:48:37 -07:00
Alexander Wang
6d2b77170b
fix arrowhead overriding
2023-06-01 17:11:11 -07:00
Alexander Wang
e998a95b96
d2ir: prevent illegal non-tail keywords
2023-05-31 23:04:09 -07:00
Alexander Wang
3afbf724f0
fix
2023-05-16 10:45:35 -07:00
Gavin Nishizawa
590a18c8bd
update compile test
2023-05-10 12:57:40 -07:00
Alexander Wang
e03e19b28b
ta=1
2023-05-05 09:18:25 -07:00
Alexander Wang
ddd997e3f0
add md block info
2023-04-29 20:45:03 -07:00
Alexander Wang
b08431b73a
Merge pull request #1256 from alixander/class-array
...
implement arrays for classes
2023-04-27 15:21:06 -07:00
Alexander Wang
7c401a4806
implement arrays for classes
...
update
changelog
2023-04-27 15:12:39 -07:00
Alexander Wang
595fafc4c8
fix class
...
style validation
changelog
2023-04-27 11:48:07 -07:00
Alexander Wang
16478fd894
fix classes panic
2023-04-26 12:40:42 -07:00
Antoine Poivey
760dbfe5ae
merge with master
2023-04-20 16:48:52 +02:00
Gavin Nishizawa
bf50cb9ab3
update tests
2023-04-17 15:03:58 -07:00
Gavin Nishizawa
69208ccf19
update tests json .label_dimensions -> .attributes.labelDimensions
2023-04-13 20:13:58 -07:00
Antoine Poivey
b2d0a44e2f
remove border-radius percent tests, add border-radius pill (with a big value) test
2023-04-13 18:18:28 +02:00
Gavin Nishizawa
c0e164e44b
rename to horizontal-gap and vertical-gap
2023-04-12 13:51:04 -07:00
Gavin Nishizawa
e871cee0bb
add compile test
2023-04-10 18:21:39 -07:00
Alexander Wang
70b3dd7b87
add text-transform as keyword
2023-04-08 12:24:29 -07:00
Alexander Wang
305c72d239
implement classes
2023-04-07 09:57:51 -07:00
donglixiaoche
b2f905efb8
Merge branch 'master' into near-keys-for-container
...
Conflicts:
d2layouts/d2near/layout.go
2023-04-07 10:40:40 +08:00
Gavin Nishizawa
a75d4dd0b9
update keywords rows -> grid-rows
2023-04-06 15:48:01 -07:00
Gavin Nishizawa
37fc3ea8e0
cleanup
2023-04-06 15:37:35 -07:00
Antoine Poivey
e59a50fd08
merge with master
2023-04-06 19:04:53 +02:00
donglixiaoche
e61629e692
fix: cr
2023-04-06 05:00:12 +08:00
Gavin Nishizawa
06a942cf99
rename to grid diagram
2023-04-05 11:15:52 -07:00
Gavin Nishizawa
04775c8491
validate descendants
2023-04-04 21:00:40 -07:00
Gavin Nishizawa
bce774fd4a
validate edges
2023-04-04 18:45:08 -07:00
Gavin Nishizawa
06fb313d3e
values must be positive
2023-04-03 13:49:10 -07:00
Gavin Nishizawa
d139eeadad
layout with grids
2023-04-03 13:48:38 -07:00
donglixiaoche
9089253872
Merge branch 'master' into near-keys-for-container
2023-03-31 21:18:46 +08:00
Antoine Poivey
e96eb4c6f0
add compile test
2023-03-30 18:43:16 +02:00
donglixiaoche
ad515e6110
chore: regenerate testcases
2023-03-30 18:15:35 +08:00
Gavin Nishizawa
ad2e3af900
add compiler error for neara set to title with constant near
2023-03-28 11:37:40 -07:00
alankan886
bb54d03033
compiler: Compiler error when Link is set and Tooltip is an URL
2023-03-28 00:12:05 -04:00
alankan886
1250ad3ea7
# This is a combination of 2 commits.
...
# This is the 1st commit message:
compiler: Compiler error when Link is set and Tooltip is an URL
# The commit message #2 will be skipped:
# Update changelog
2023-03-28 00:02:27 -04:00
donglixiaoche
0df9abc056
fix: delete redundant file
2023-03-27 21:38:11 +08:00
donglixiaoche
22cce86892
fix: cr, add validation for near connectioins
2023-03-27 21:38:09 +08:00
donglixiaoche
72253e892f
fix: compile_test testcase
2023-03-27 21:38:09 +08:00
donglixiaoche
1af6896883
fix: revert near_bad_connected compile_test
2023-03-27 21:38:09 +08:00