Commit graph

2789 commits

Author SHA1 Message Date
Alexander Wang
343b9daaca
add space 2023-04-08 11:35:54 -07:00
Alexander Wang
b3b97d1a46
fix watch mode 2023-04-08 11:34:48 -07:00
Alexander Wang
2ab19ee0f2
Merge pull request #1118 from alexstoick/feat/caps-lock-toggable
feat: Add `text-transform` attribute to the `style` block
2023-04-08 11:34:21 -07:00
Stoica Alex
a260068d2c
Add text-transform attribute to the style block
This provides an option to override the functionality provided by the
theme, or apply `text-transform` outside of the theme.

The functionality of the `text-transform` is as below:

- `text-transform: none` - will disable **any** transformation (like the uppercasing by `terminal` theme)
- `text-transform: uppercase` (uppercase not upper as per your message) - will force all characters into uppercase.
- `text-transform: lowercase` - will force all characters into lowercase.
- `text-transform: capitalize` - will uppercase the first letter of every word

In addition, this commit introduces:
- helper methods on the `d2graph.Style` struct to determine the type of
  `text-transform` to be applied.
- `ApplyTextTransform` method on the `d2graph.Attributes` which will
  transform the `Label.Value` to the correct text case.
2023-04-08 18:56:13 +01:00
Alexander Wang
9692e47525
Merge pull request #1155 from alixander/fix-solo-near
fix solo near
2023-04-08 10:15:47 -07:00
Alexander Wang
dbc3a69951
fix solo near 2023-04-08 10:07:56 -07:00
Alexander Wang
7fe562fd82
[ci-base] bump version 2023-04-07 21:03:33 -07:00
Alexander Wang
2d5a8a469c
Merge pull request #1153 from berniexie/1132/fix-markdown-font-targetting
fonts: markdown class has to have diagramHash targeting
2023-04-07 18:07:44 -07:00
Bernard Xie
d277bbc91f
Update next.md 2023-04-07 16:49:11 -07:00
Bernard Xie
bceb7e9104
markdown class has to have diagramHash targeting 2023-04-07 16:45:57 -07:00
Júlio César Batista
ff7438fc2a
Merge branch 'master' into gh-821-ppt 2023-04-07 18:12:50 -03:00
Alexander Wang
189e5a005c
Merge pull request #1140 from alexstoick/feat/lifeline-inherit-actor-style
Lifeline should inherit the stroke style from the actor
2023-04-07 14:00:12 -07:00
Stoica Alex
2a93d21420
Lifeline should inherit the stroke style from the actor
Fixes #1137
2023-04-07 21:31:08 +01:00
Alexander Wang
2e9c05410c
Merge pull request #1138 from alixander/layers-bug
fix panic when no root board
2023-04-07 10:56:35 -07:00
Alexander Wang
c8dc0f94a2
fix empty layer 2023-04-07 10:50:13 -07:00
Alexander Wang
ccb38606f5
Merge pull request #772 from alixander/classes
classes
2023-04-07 10:04:10 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00
Júlio César Batista
944fb0c476
fix image resizing 2023-04-07 11:00:25 -03:00
Alexander Wang
ad880fa9be
Merge pull request #1090 from alixander/scenarios-bug
fix scenarios/steps inheritence
2023-04-06 22:27:03 -07:00
Alexander Wang
2d7cdc5964
Merge pull request #1071 from donglixiaoche/near-keys-for-container
Near keys for container
2023-04-06 22:05:02 -07:00
Alexander Wang
754e0ece80
use helpers 2023-04-06 21:02:12 -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
donglixiaoche
59ef4ad832
fix: cr, attach objects of tempGraph 2023-04-07 10:33:19 +08:00
gavin-ts
b3511d1248
Merge pull request #1122 from gavin-ts/grid-layouts
new grid layout with rows/columns
2023-04-06 19:22:24 -07:00
Alexander Wang
72ea1b111b
Merge pull request #1142 from ram02z/patch-1
Add d2-filter as community plugin
2023-04-06 16:54:45 -07:00
Omar Zeghouani
1ed2fdbbef
Add d2-filter as community plugin 2023-04-06 23:54:40 +01: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
Gavin Nishizawa
bab54b4030
cleanup 2023-04-06 14:30:45 -07:00
Júlio César Batista
37c46b7435
add CLI test 2023-04-06 15:16:32 -03:00
Antoine Poivey
e59a50fd08
merge with master 2023-04-06 19:04:53 +02:00
Antoine Poivey
72efc70ad0
add tests 2023-04-06 18:53:54 +02:00
Júlio César Batista
4b2041f759
minor refactor 2023-04-06 11:04:17 -03:00
Júlio César Batista
e4bbc26959
minor fixes for MS PowerPoint 2023-04-06 11:01:44 -03:00
Gavin Nishizawa
8b3ba86da3
update test 2023-04-05 20:03:07 -07:00
Gavin Nishizawa
8eb99a46c6
new method for placing nodes across rows 2023-04-05 20:02:57 -07:00
Alexander Wang
a2cffc9341
fix inheritence bug 2023-04-05 19:29:08 -07:00
donglixiaoche
e61629e692
fix: cr 2023-04-06 05:00:12 +08:00
Júlio César Batista
356ab93941
fix image size 2023-04-05 16:09:33 -03:00
Júlio César Batista
eb2518c0e4
rename and docs 2023-04-05 15:35:03 -03:00
Gavin Nishizawa
292ac05a9e
changelog 2023-04-05 11:33:28 -07:00
Júlio César Batista
f0adecf1dc
metadata 2023-04-05 15:22:12 -03:00
Gavin Nishizawa
06a942cf99
rename to grid diagram 2023-04-05 11:15:52 -07:00
Gavin Nishizawa
44f2d7a47f
update grid_tests 2023-04-05 11:03:04 -07:00
Júlio César Batista
ace4715f04
update title 2023-04-05 11:40:21 -03:00
Gavin Nishizawa
04775c8491
validate descendants 2023-04-04 21:00:40 -07:00
Gavin Nishizawa
0dc6a808e3
update test 2023-04-04 20:23:18 -07:00
Gavin Nishizawa
18e72880e0
add executive_grid test 2023-04-04 20:19:42 -07:00
Gavin Nishizawa
69ceb5be1a
add grid_tests test 2023-04-04 20:12:21 -07:00
Gavin Nishizawa
108faceb99
layout evenly with rows and columns 2023-04-04 20:12:20 -07:00