Skip to content

Commit b5f7826

Browse files
chore(table): fix sentence case in table cells
1 parent 91641c1 commit b5f7826

File tree

2 files changed

+117
-117
lines changed

2 files changed

+117
-117
lines changed

components/table/stories/table.stories.js

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,19 @@ export default {
9393
hasColumnDividers: false,
9494
rowItems: [
9595
{
96-
cellContent: "Row Item Alpha",
96+
cellContent: "Row item alpha",
9797
},
9898
{
99-
cellContent: "Row Item Bravo",
99+
cellContent: "Row item bravo",
100100
},
101101
{
102-
cellContent: "Row Item Charlie",
102+
cellContent: "Row item charlie",
103103
},
104104
{
105-
cellContent: "Row Item Delta",
105+
cellContent: "Row item delta",
106106
},
107107
{
108-
cellContent: "Row Item Echo",
108+
cellContent: "Row item echo",
109109
},
110110
],
111111
},
@@ -116,25 +116,25 @@ export default {
116116

117117
const ExampleRowItems = [
118118
{
119-
cellContent: ["Table Row Alpha", "Alpha", "Table Row Alpha"],
119+
cellContent: ["Table row alpha", "Alpha", "Table row alpha"],
120120
showCheckbox: true,
121121
},
122122
{
123123
cellContent: [
124-
"Table Row Bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
124+
"Table row bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
125125
"Bravo",
126-
"Table Row Bravo. Lorem ipsum dolor sit amet.",
126+
"Table row bravo. Lorem ipsum dolor sit amet.",
127127
],
128128
showCheckbox: true,
129129
isSelected: true,
130130
},
131131
{
132-
cellContent: "Table Row Charlie",
132+
cellContent: "Table row charlie",
133133
showCheckbox: true,
134134
isSelected: true,
135135
},
136136
{
137-
cellContent: "Table Row Delta",
137+
cellContent: "Table row delta",
138138
showCheckbox: true,
139139
},
140140
{
@@ -181,7 +181,7 @@ Compact.tags = ["!dev"];
181181
Compact.parameters = {
182182
chromatic: { disableSnapshot: true },
183183
};
184-
Compact.storyName = "Density - Compact";
184+
Compact.storyName = "Density - compact";
185185

186186
/**
187187
* The spacious variant increases the spacing used within the table.
@@ -195,7 +195,7 @@ Spacious.tags = ["!dev"];
195195
Spacious.parameters = {
196196
chromatic: { disableSnapshot: true },
197197
};
198-
Spacious.storyName = "Density - Spacious";
198+
Spacious.storyName = "Density - spacious";
199199

200200
/**
201201
* The standard multi-select table includes a column of checkboxes used for selecting rows.
@@ -271,20 +271,20 @@ export const SummaryAndSelected = Template.bind({});
271271
SummaryAndSelected.args = {
272272
rowItems: [
273273
{
274-
cellContent: "Table Row Alpha",
274+
cellContent: "Table row alpha",
275275
},
276276
{
277-
cellContent: "Table Row Bravo",
277+
cellContent: "Table row bravo",
278278
},
279279
{
280-
cellContent: "Table Row Charlie",
280+
cellContent: "Table row charlie",
281281
isSelected: true,
282282
},
283283
{
284-
cellContent: "Table Row Delta",
284+
cellContent: "Table row delta",
285285
},
286286
{
287-
cellContent: "Summary Row",
287+
cellContent: "Summary row",
288288
isSummaryRow: true,
289289
},
290290
],
@@ -301,27 +301,27 @@ export const SectionHeader = Template.bind({});
301301
SectionHeader.args = {
302302
rowItems: [
303303
{
304-
cellContent: "Section Header",
304+
cellContent: "Section header",
305305
isSectionHeader: true,
306306
},
307307
{
308-
cellContent: "Table Row Alpha",
308+
cellContent: "Table row alpha",
309309
},
310310
{
311-
cellContent: "Table Row Bravo",
311+
cellContent: "Table row bravo",
312312
},
313313
{
314-
cellContent: "Table Row Charlie",
314+
cellContent: "Table row charlie",
315315
},
316316
{
317-
cellContent: "Another Section Header",
317+
cellContent: "Another section header",
318318
isSectionHeader: true,
319319
},
320320
{
321-
cellContent: "Table Row Delta",
321+
cellContent: "Table row delta",
322322
},
323323
{
324-
cellContent: "Table Row Echo",
324+
cellContent: "Table row echo",
325325
},
326326
],
327327
};
@@ -355,26 +355,26 @@ Scrollable.args = {
355355
useScroller: true,
356356
rowItems: [
357357
{
358-
cellContent: "Table Row Alpha",
358+
cellContent: "Table row alpha",
359359
},
360360
{
361-
cellContent: "Table Row Bravo",
361+
cellContent: "Table row bravo",
362362
},
363363
{
364-
cellContent: "Table Row Charlie",
364+
cellContent: "Table row charlie",
365365
isSelected: true,
366366
},
367367
{
368-
cellContent: "Table Row Delta",
368+
cellContent: "Table row delta",
369369
},
370370
{
371-
cellContent: "Table Row Echo",
371+
cellContent: "Table row echo",
372372
},
373373
{
374-
cellContent: "Table Row Foxtrot",
374+
cellContent: "Table row foxtrot",
375375
},
376376
{
377-
cellContent: "Summary Row",
377+
cellContent: "Summary row",
378378
isSummaryRow: true,
379379
},
380380
],
@@ -406,7 +406,7 @@ export const Collapsible = Template.bind({});
406406
Collapsible.args = {
407407
rowItems: [
408408
{
409-
cellContent: "Table Row Alpha",
409+
cellContent: "Table row alpha",
410410
isCollapsible: true,
411411
isExpanded: true,
412412
tier: 0,
@@ -415,25 +415,25 @@ Collapsible.args = {
415415
},
416416
{
417417
cellContent:
418-
"Table Row Bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
418+
"Table row bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
419419
isCollapsible: true,
420420
tier: 1,
421421
ariaControls: "table-cr-charlie",
422422
id: "table-cr-bravo",
423423
},
424424
{
425425
cellContent: [
426-
"Table Row Charlie",
427-
"Default Not Visible",
428-
"Default Not Visible",
426+
"Table row charlie",
427+
"Default not visible",
428+
"Default not visible",
429429
],
430430
isCollapsible: true,
431431
isHidden: true,
432432
tier: 2,
433433
id: "table-cr-charlie",
434434
},
435435
{
436-
cellContent: "Table Row Delta",
436+
cellContent: "Table row delta",
437437
isSelected: true,
438438
isCollapsible: true,
439439
isExpanded: true,
@@ -442,21 +442,21 @@ Collapsible.args = {
442442
id: "table-cr-delta",
443443
},
444444
{
445-
cellContent: "Table Row Echo",
445+
cellContent: "Table row echo",
446446
tier: 2,
447447
isLastTier: true,
448448
isCollapsible: true,
449449
id: "table-cr-echo",
450450
},
451451
{
452-
cellContent: "Table Row Foxtrot",
452+
cellContent: "Table row foxtrot",
453453
tier: 2,
454454
isLastTier: true,
455455
isCollapsible: true,
456456
id: "table-cr-foxtrot",
457457
},
458458
{
459-
cellContent: "Summary Row",
459+
cellContent: "Summary row",
460460
isSummaryRow: true,
461461
},
462462
],
@@ -471,7 +471,7 @@ CollapsibleMultiSelect.args = {
471471
rowItems: [
472472
{
473473
showCheckbox: true,
474-
cellContent: "Table Row Alpha",
474+
cellContent: "Table row alpha",
475475
isCollapsible: true,
476476
isExpanded: true,
477477
tier: 0,
@@ -481,7 +481,7 @@ CollapsibleMultiSelect.args = {
481481
{
482482
showCheckbox: true,
483483
cellContent:
484-
"Table Row Bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
484+
"Table row bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
485485
isCollapsible: true,
486486
tier: 1,
487487
ariaControls: "table-cr-charlie",
@@ -490,9 +490,9 @@ CollapsibleMultiSelect.args = {
490490
{
491491
showCheckbox: true,
492492
cellContent: [
493-
"Table Row Charlie",
494-
"Default Not Visible",
495-
"Default Not Visible",
493+
"Table row charlie",
494+
"Default not visible",
495+
"Default not visible",
496496
],
497497
isCollapsible: true,
498498
isHidden: true,
@@ -501,7 +501,7 @@ CollapsibleMultiSelect.args = {
501501
},
502502
{
503503
showCheckbox: true,
504-
cellContent: "Table Row Delta",
504+
cellContent: "Table row delta",
505505
isSelected: true,
506506
isCollapsible: true,
507507
isExpanded: true,
@@ -511,23 +511,23 @@ CollapsibleMultiSelect.args = {
511511
},
512512
{
513513
showCheckbox: true,
514-
cellContent: "Table Row Echo",
514+
cellContent: "Table row echo",
515515
tier: 2,
516516
isLastTier: true,
517517
isCollapsible: true,
518518
id: "table-cr-echo",
519519
},
520520
{
521521
showCheckbox: true,
522-
cellContent: "Table Row Foxtrot",
522+
cellContent: "Table row foxtrot",
523523
tier: 2,
524524
isLastTier: true,
525525
isCollapsible: true,
526526
id: "table-cr-foxtrot",
527527
},
528528
{
529529
showCheckbox: true,
530-
cellContent: "Summary Row",
530+
cellContent: "Summary row",
531531
isSummaryRow: true,
532532
},
533533
],
@@ -544,20 +544,20 @@ Thumbnails.args = {
544544
showThumbnails: true,
545545
rowItems: [
546546
{
547-
cellContent: ["Table Row Alpha", "Test", "2"],
547+
cellContent: ["Table row alpha", "Test", "2"],
548548
},
549549
{
550-
cellContent: ["Table Row Bravo", "Test", "28"],
550+
cellContent: ["Table row bravo", "Test", "28"],
551551
},
552552
{
553553
cellContent: [
554-
"Table Row Charlie. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
554+
"Table row charlie. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
555555
"Test",
556556
"23",
557557
],
558558
},
559559
{
560-
cellContent: ["Table Row Delta", "Test", "7"],
560+
cellContent: ["Table row delta", "Test", "7"],
561561
},
562562
],
563563
};
@@ -574,7 +574,7 @@ ThumbnailsCollapsible.args = {
574574
showThumbnails: true,
575575
rowItems: [
576576
{
577-
cellContent: "Table Row Alpha",
577+
cellContent: "Table row alpha",
578578
isCollapsible: true,
579579
isExpanded: true,
580580
tier: 0,
@@ -583,28 +583,28 @@ ThumbnailsCollapsible.args = {
583583
},
584584
{
585585
cellContent:
586-
"Table Row Bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
586+
"Table row bravo. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
587587
isCollapsible: true,
588588
tier: 1,
589589
ariaControls: "table-cr-charlie",
590590
id: "table-cr-bravo",
591591
},
592592
{
593-
cellContent: "Table Row Charlie",
593+
cellContent: "Table row charlie",
594594
tier: 2,
595595
isLastTier: true,
596596
isCollapsible: true,
597597
id: "table-cr-charlie",
598598
},
599599
{
600-
cellContent: "Table Row Delta",
600+
cellContent: "Table row delta",
601601
tier: 2,
602602
isLastTier: true,
603603
isCollapsible: true,
604604
id: "table-cr-delta",
605605
},
606606
{
607-
cellContent: "Summary Row",
607+
cellContent: "Summary row",
608608
isSummaryRow: true,
609609
},
610610
],
@@ -634,24 +634,24 @@ export const RowDropZone = Template.bind({});
634634
RowDropZone.args = {
635635
rowItems: [
636636
{
637-
cellContent: "Table Row Alpha",
637+
cellContent: "Table row alpha",
638638
isDropTarget: true,
639639
},
640640
{
641-
cellContent: "Table Row Bravo",
641+
cellContent: "Table row bravo",
642642
},
643643
{
644-
cellContent: "Table Row Charlie",
644+
cellContent: "Table row charlie",
645645
isDropTarget: true,
646646
},
647647
{
648-
cellContent: "Table Row Delta",
648+
cellContent: "Table row delta",
649649
},
650650
{
651-
cellContent: "Table Row Echo",
651+
cellContent: "Table row echo",
652652
},
653653
{
654-
cellContent: "Table Row Foxtrot",
654+
cellContent: "Table row foxtrot",
655655
isDropTarget: true,
656656
},
657657
],

0 commit comments

Comments
 (0)