Commit 126f741
DataForm:
* Enhance Card Component: Introduce directional padding options and update size type definitions
* Enhance Card Component: Introduce directional padding options and update size type definitions
* add changelog
* add size to footer
* fix changelog
* fix changelog
* fix padding
* clean up code
* fix unit test
* update types
* move padding style in get-padding-by-size file
* update story documentation
* update documentation
* remove option to make the card with border
* address feedback
* Refactor padding options in FormCardField component to use blockStart/blockEnd and inlineStart/inlineEnd instead of top/right/bottom/left for improved layout flexibility
* Update packages/components/src/card/card/README.md
Co-authored-by: Lena Morita <lena@jaguchi.com>
* improve documentation
* improve logic
* implement none
* fix build
* restore changelog
* update changelog
* restore story
* fix layout when header is not collapsible
* fix story
* improve card layout logic
* Update paragraph styling in dataform story to remove margin for improved layout consistency
---------
Co-authored-by: Lena Morita <lena@jaguchi.com>Card bordless layout (WordPress#72514)1 parent 0d2e850 commit 126f741
File tree
3 files changed
+38
-11
lines changed- packages/dataviews
- src
- dataform-layouts/card
- stories
3 files changed
+38
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
184 | 201 | | |
185 | | - | |
| 202 | + | |
186 | 203 | | |
187 | 204 | | |
188 | 205 | | |
| |||
207 | 224 | | |
208 | 225 | | |
209 | 226 | | |
210 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
211 | 231 | | |
212 | 232 | | |
213 | 233 | | |
| |||
239 | 259 | | |
240 | 260 | | |
241 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
242 | 269 | | |
243 | | - | |
| 270 | + | |
244 | 271 | | |
245 | 272 | | |
246 | 273 | | |
| |||
262 | 289 | | |
263 | 290 | | |
264 | 291 | | |
265 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
266 | 296 | | |
267 | 297 | | |
268 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
1387 | | - | |
| 1387 | + | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | 1443 | | |
1448 | 1444 | | |
1449 | 1445 | | |
1450 | 1446 | | |
1451 | 1447 | | |
1452 | 1448 | | |
1453 | | - | |
| 1449 | + | |
1454 | 1450 | | |
1455 | 1451 | | |
1456 | 1452 | | |
| |||
0 commit comments