@primer/view-components 0.0.61 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md DELETED
@@ -1,1486 +0,0 @@
1
- # CHANGELOG
2
-
3
- <!--
4
- Authoring changelog entries
5
-
6
- This file holds all the changes made in previous versions of Primer View Components and the ones coming to the next version.
7
- To add yours, you need to find in which category to write it under the `main` section. `Main` is the first section on top of the document.
8
- There are six categories currently in use, `New`, `Updates`, `Bug fixes`, `Breaking changes`, `Deprecations` and `Misc`.
9
-
10
- - New
11
- Category for new components, system behaviours, options and arguments changes
12
-
13
- - Updates
14
- Every non-breaking change to the source code go there.
15
-
16
- - Bug Fixes
17
- Non-breaking bug fixes to existing code.
18
-
19
- - Breaking Changes
20
- The category for changes creating incompatibilities to code written with previous versions.
21
- It includes any changes to components name, signature and behaviour. Also, include removing tags options or changing file location.
22
- If you are not sure you made breaking changes, ask us in your pull request.
23
-
24
- - Deprecations
25
- For changes that explicitly deprecate part of the code base.
26
-
27
- - Misc
28
- The category for changes related to documentation, testing and tooling. Also, for pull requests that can't fit in other sections.
29
- -->
30
-
31
- ## main
32
-
33
- ## 0.0.61
34
-
35
- ### New
36
-
37
- * Adding new Alpha component: `Layout` with `main` and `sidebar` slots
38
-
39
- *Cameron Dutro*
40
-
41
- * Add a two-column layout linter.
42
-
43
- *Cameron Dutro*
44
-
45
- * Add the `HellipButton` component
46
-
47
- *Amélia Chavot*, *Owen Niblock*
48
-
49
- ### Updates
50
-
51
- * Bump Storybook version to include Skip to Content links for keyboard auditors
52
-
53
- *Katie Foster @inkblotty*
54
-
55
- * Update the `HiddenTextExpander` component to use the `HellipButton`.
56
-
57
- *Amélia Chavot*, *Owen Niblock*
58
-
59
- ### Misc
60
-
61
- * Fix components not rendering in Storybook because of kebab case arguments.
62
-
63
- *Amélia Chavot*, *Manuel Puyol*, *Owen Niblock*
64
-
65
- * Fix a typo on a command on the contribution page.
66
-
67
- *Amélia Chavot*, *Owen Niblock*
68
-
69
- ### Bug Fixes
70
-
71
- * Fix issue where tags were not self-closing when they are void elements
72
-
73
- *Owen Niblock*
74
-
75
- ### Deprecations
76
-
77
- * Deprecate `Primer::BlankslateComponent` in favor of `Primer::Beta::Blankslate`.
78
-
79
- *Manuel Puyol*
80
-
81
- ### Breaking Changes
82
-
83
- * Require an `aria-label` to be provided for the `HiddenTextExpander` component.
84
-
85
- *Amélia Chavot*, *Owen Niblock*
86
-
87
- * Rename `force_system_arguments` to `raise_on_invalid_options` to better reflect its functionality
88
-
89
- *Owen Niblock*
90
-
91
- * Renamed `Blankslate` `title` slot to `heading`.
92
-
93
- *Manuel Puyol*
94
-
95
- * Removed `Blankslate` `large` variant.
96
-
97
- *Manuel Puyol*
98
-
99
- * Renamed `Blankslate` `graphic` slot to `visual`.
100
-
101
- *Manuel Puyol*
102
-
103
- ## 0.0.60
104
-
105
- ### Updates
106
-
107
- * Adding new Alpha component: BorderBox Header with optional `title` slot
108
-
109
- *Katie Foster @inkblotty*
110
-
111
- * Add note about `Breadcrumbs` not being responsive.
112
-
113
- *Joel Hawksley*
114
-
115
- * Handling arguments that aren't system arguments or string arguments in primer_octicon.
116
-
117
- *Jon Rohan, Manuel Puyol*
118
-
119
- * Improvements to the Procfile so script/dev works as expected.
120
-
121
- *Cameron Dutro*
122
-
123
- * Migrating grid classes to utilities.yml process
124
-
125
- *Jon Rohan*
126
-
127
- * Adding new system color arguments, and deprecating old arguments.
128
-
129
- *Jon Rohan*
130
-
131
- * Make `Spinner` more accessible by adding `sr-only` loading text.
132
-
133
- *Manuel Puyol*
134
-
135
- * Make class name validation configurable instead of relying on the Rails env.
136
-
137
- *Cameron Dutro*
138
-
139
- ### Bug Fixes
140
-
141
- * Removes unwanted bottom border from active tab of `Alpha::TabNav`.
142
-
143
- *Ned Schwartz*
144
-
145
- ### Breaking changes
146
-
147
- * Add size restriction to `Avatar`.
148
-
149
- *Kate Higa*
150
-
151
- * Remove `square` attribute from `Avatar` in favor of `shape`. This change also affects `TimelineItem` `avatar` slot.
152
-
153
- *Manuel Puyol*
154
-
155
- ## 0.0.59
156
-
157
- ### Updates
158
-
159
- * Changed `ClipboardCopy` to use `copy` instead of `paste` icon.
160
-
161
- *Cole Bemis*
162
-
163
- ### Breaking changes
164
-
165
- * `Breadcrumbs` no longer accepts padding and font size system arguments.
166
-
167
- *Joel Hawksley*
168
-
169
- ## 0.0.58
170
-
171
- ### Updates
172
-
173
- * Add accessibility section to `Breadcrumbs` page.
174
-
175
- *Kate Higa*
176
-
177
- * Improve performance of the Classify module, i.e. `Classify.call`.
178
-
179
- *Cameron Dutro*
180
-
181
- * Background arguments are now pulled in through the utilities class.
182
-
183
- *Jon Rohan*
184
-
185
- * Border arguments are now pulled in through the utilities class.
186
-
187
- *Jon Rohan*
188
-
189
- ### Breaking changes
190
-
191
- * `bg:` system argument will no longer accept hex color strings, and deprecated color scale.
192
-
193
- *Jon Rohan*
194
-
195
- ### Bug fixes
196
-
197
- * Fix `ClipboardCopy` octicons not toggling correctly after first click.
198
-
199
- *Manuel Puyol, Kristján Oddsson*
200
-
201
- ## 0.0.57
202
-
203
- ### Bug fixes
204
-
205
- * Don't suggest empty colors for Octicons when autocorrecting.
206
-
207
- *Manuel Puyol*
208
-
209
- ## 0.0.56
210
-
211
- ### Updates
212
-
213
- * `Octicon` linter will autocorrect colors.
214
-
215
- *Manuel Puyol*
216
-
217
- * `Button` linter will autocorrect when button uses `href`, `name`, `value` or `tabindex`.
218
-
219
- *Manuel Puyol*
220
-
221
- * `Flash` linter won't autocorrect flashes with ERB in their content.
222
-
223
- *Manuel Puyol*
224
-
225
- * Eager load components.
226
-
227
- *Cameron Dutro*
228
-
229
- ### Misc
230
-
231
- * Refactor some of the rubocop valid_node? logic into BaseCop class.
232
-
233
- *Jon Rohan*
234
-
235
- * Fix validation checker to use Utilities for color-* classes.
236
-
237
- *Jon Rohan*
238
-
239
- ## 0.0.55
240
-
241
- ### Breaking changes
242
-
243
- * `Primer::Breadcrumbs` requires `href`s for all items and no longer accepts the `selected` argument.
244
-
245
- *Joel Hawksley*
246
-
247
- * Split `TabNav` into `TabNav` and `TabPanels`.
248
-
249
- *Kate Higa*
250
-
251
- ### New
252
-
253
- * Use the allocation_stats gem to count object allocations in our benchmarks.
254
- * Improve performance of Octicon cache key construction.
255
-
256
- *Cameron Dutro*
257
-
258
- * Update `@primer/css` to `17.7.0` which includes a new argument for `word_break`
259
-
260
- *Jon Rohan*
261
-
262
- ### Misc
263
-
264
- * Clean up extra constants in `UnderlineNav`.
265
-
266
- *Kate Higa*
267
-
268
- ## 0.0.54
269
-
270
- ### Breaking changes
271
-
272
- * Rename `BreadcrumbComponent` to `Beta::Breadcrumbs`.
273
-
274
- *Joel Hawksley*
275
-
276
- * Split `UnderlineNavComponent` into `Alpha::UnderlineNav` and `Alpha::UnderlinePanels`.
277
-
278
- *Kate Higa*
279
-
280
- ## 0.0.53
281
-
282
- ### New
283
-
284
- * Add autocorrection to `FlashComponent` linter when the context is basic text.
285
-
286
- *Manuel Puyol*
287
-
288
- ### Updates
289
-
290
- * Linters won't mark offenses when the ignore count is correct unless explicitly configured to do so.
291
-
292
- *Manuel Puyol*
293
-
294
- * Deprecating background and border color presentational arguments
295
-
296
- *Jon Rohan*
297
-
298
- * Map the `for` argument when autofixing `ClipboardCopy` migrations.
299
-
300
- *Kristján Oddsson*
301
-
302
- * Add autocorrection for `CloseButton` linter.
303
-
304
- *Manuel Puyol*
305
-
306
- * Moving text color variables to Utilities class
307
-
308
- *Jon Rohan*
309
-
310
- ### Bug fixes
311
-
312
- * Linters won't convert HTML special elements.
313
-
314
- *Manuel Puyol*
315
-
316
- ### Misc
317
-
318
- * Only run CHANGELOG CI on pull requests.
319
-
320
- *Manuel Puyol*
321
-
322
- * Run CI actions on pushes to main.
323
-
324
- *Cameron Dutro*
325
-
326
- * Get to 100% code coverage.
327
-
328
- *Cameron Dutro*
329
-
330
- ## 0.0.52
331
-
332
- ### New
333
-
334
- * Adding `Primer::Beta::Truncate` component to reflect changes in primer/css component [Truncate](https://primer.style/css/components/truncate).
335
-
336
- *Jon Rohan*
337
-
338
- * Add cop to look for deprecated system arguments and suggest replacements.
339
-
340
- *Jon Rohan*
341
-
342
- * Add cop to use `primer_octicon` in favor of `octicon`.
343
-
344
- *Manuel Puyol*
345
-
346
- * Fix release script so it doesn't loop continuously.
347
-
348
- *Cameron Dutro*
349
-
350
- ### Updates
351
-
352
- * Promote `ClipboardCopy` to beta.
353
-
354
- *Manuel Puyol*
355
-
356
- * PrimerOcticon linter supports `aria-` and `data-` attributes.
357
-
358
- *Manuel Puyol*
359
-
360
- * Linters can:
361
- * convert values with ERB interpolations.
362
- * autocorrect cases with custom classes.
363
-
364
- *Manuel Puyol*
365
-
366
- * Add a `scheme` option to `BorderBoxComponent` rows.
367
-
368
- *Cameron Dutro*
369
-
370
- * Upgrade rubocop and support Ruby 3.0.
371
-
372
- *Cameron Dutro*
373
-
374
- * Linters will not autocorrect cases where a required argument is missing.
375
-
376
- *Manuel Puyol*
377
-
378
- ### Misc
379
-
380
- * Update benchmarks to run in every supported Ruby version.
381
-
382
- *Manuel Puyol*
383
-
384
- * Add a linter generator.
385
-
386
- *Manuel Puyol*
387
-
388
- ## 0.0.51
389
-
390
- ### Breaking changes
391
-
392
- * Rename `width` and `height` System Arguments to `w` and `h`, resolving conflict with HTML attribute names.
393
-
394
- *Manuel Puyol*
395
-
396
- ### Updates
397
-
398
- * `SystemArgumentInsteadOfClass` linter will check for arguments in ViewHelpers.
399
-
400
- *Manuel Puyol*
401
-
402
- ## 0.0.50
403
-
404
- ### Updates
405
-
406
- * Fix incorrect slots syntax in docs.
407
-
408
- *Joel Hawksley*, *Blake Williams*
409
-
410
- ### New
411
-
412
- * Add linter suggestions for `CloseButton` component.
413
-
414
- *Manuel Puyol*
415
-
416
- ### Breaking changes
417
-
418
- * Update to `octicons` `v15`, removing open-ended dependency. See [https://github.com/primer/octicons/releases/tag/v15.0.0] for icon name changes in release.
419
-
420
- *Joel Hawksley*
421
-
422
- ### Updates
423
-
424
- * Don't require `title` for `Label`.
425
-
426
- *Manuel Puyol*
427
-
428
- * Improve autocorrectable linters to convert known SystemArgument classes.
429
-
430
- *Manuel Puyol*
431
-
432
- * Add support for `width: :full` and `height: :full` to System Arguments.
433
-
434
- *Joel Hawksley*
435
-
436
- ### Bug fixes
437
-
438
- * Update linters to not autocorrect attributes with ERB blocks.
439
-
440
- *Manuel Puyol*
441
-
442
- * Fix `:height` and `:width` docs to pull from Utilities
443
-
444
- *Jon Rohan*
445
-
446
- ## 0.0.49
447
-
448
- ### New
449
-
450
- * Add linter suggestions for `Label` component.
451
-
452
- *Manuel Puyol*
453
-
454
- * Add linter suggestions for `ClipboardCopy` component.
455
-
456
- *Manuel Puyol*
457
-
458
- ### Updates
459
-
460
- * Update the `Truncate` component to accept `:strong` as a tag.
461
-
462
- *Amélia Chavot*
463
-
464
- * Improve `Primer::Classify::Utilities.classes_to_hash` performance.
465
-
466
- *Manuel Puyol*
467
-
468
- ### Breaking changes
469
-
470
- * Require tab with panels to have `panel_id` so `aria-controls` can be set.
471
-
472
- *Kate Higa*
473
-
474
- * Renames:
475
- * `Primer::AvatarStackComponent` to `Primer::Beta::AvatarStack`.
476
-
477
- *Manuel Puyol*
478
-
479
- ### Misc
480
-
481
- * Extract example tag parsing into helper.
482
-
483
- *Kate Higa*
484
-
485
- * Generate a static constant JSON and use it when defining linters.
486
-
487
- *Manuel Puyol*
488
-
489
- ## 0.0.48
490
-
491
- ### Breaking changes
492
-
493
- * Ensure panels in `Navigation::Tab` have a label.
494
-
495
- *Kate Higa*
496
-
497
- ### Misc
498
-
499
- * Expose custom cops and default config for erblint.
500
-
501
- *Manuel Puyol*
502
-
503
- * Fix double constant assign.
504
-
505
- *Manuel Puyol*
506
-
507
- ## 0.0.47
508
-
509
- ### Breaking changes
510
-
511
- * Restrict tag for `Popover` to `:div` and `Popover` heading slot to headings.
512
-
513
- *Kate Higa*
514
-
515
- * Renames:
516
- * `Primer::AutoComplete` to `Primer::Beta::AutoComplete`
517
- * `Primer::AutoComplete::Item` to `Primer::Beta::AutoComplete::Item`
518
- * `Primer::AvatarComponent` to `Primer::Beta::Avatar`
519
-
520
- *Manuel Puyol*
521
-
522
- ### Misc
523
-
524
- * Update `doc_examples_axe_test` to exclude non-standalone components and fix `Markdown` example.
525
-
526
- *Kate Higa*
527
-
528
- * Update `DetailsComponent` examples.
529
-
530
- *Manuel Puyol*
531
-
532
- * Add linter to suggest system arguments instead of classes.
533
-
534
- *Manuel Puyol*
535
-
536
- * Update component generator to create components in the right status module.
537
-
538
- *Manuel Puyol*
539
-
540
- * Add example for truncating HTML to `Truncate`.
541
-
542
- *Joel Hawksley*
543
-
544
- * Update docs generation to point to the correct file sources.
545
-
546
- *Manuel Puyol*
547
-
548
- * Add ENV flag to dump linter data into a file.
549
-
550
- *Manuel Puyol*
551
-
552
- ## 0.0.46
553
-
554
- ### Updates
555
-
556
- * Default to matching `name` and `id` of `input`.
557
-
558
- *Kate Higa*
559
-
560
- * Restrict usage of padding system arguments on BorderBox, recommending use of `padding` density instead.
561
-
562
- *Joel Hawksley*
563
-
564
- ### Breaking changes
565
-
566
- * Restrict `TabNav`and `Tab` tags.
567
-
568
- *Kate Higa*
569
-
570
- * Restrict `AvatarStack` body slot tag and `ImageCrop` spinner tag.
571
-
572
- *Kate Higa*
573
-
574
- * Restrict `Details` body slot tags and `UnderlineNav` body slot tags.
575
-
576
- *Kate Higa*
577
-
578
- * Move Primer::Classify from `app/lib/` to `lib/`. This requires an extra `require "primer/classify"` statement for anywhere Classify is needed.
579
-
580
- *Manuel Puyol, Jon Rohan*
581
-
582
- * Restrict `Menu` heading slot tags to heading tags and require `tag` argument.
583
-
584
- *Kate Higa*
585
-
586
- * Adding animation, vertical_align, word_break, display, visibility, & position arguments to the utilities class. `animation: :grow` is now `animation: :hover_grow` this was a change because we changed the class name in primer.
587
-
588
- *Jon Rohan*
589
-
590
- ### Misc
591
-
592
- * Update contributing guidelines with release instructions.
593
-
594
- *Kate Higa*
595
-
596
- * Prevent flexible tag syntax with rubocop rule.
597
-
598
- *Kate Higa*
599
-
600
- * Update linter autocorrection to use `""` instead of `true` for boolean attributes.
601
-
602
- *Manuel Puyol*
603
-
604
- * Update Storybook version.
605
-
606
- *Manuel Puyol*
607
-
608
- * Add a changelog authoring guide to `CHANGELOG.md`.
609
-
610
- *Amélia Chavot*
611
-
612
- ## 0.0.45
613
-
614
- ### Updates
615
-
616
- * Allow copying from elements using `for` in `ClipboardCopy`.
617
-
618
- *Manuel Puyol*
619
-
620
- ### Breaking changes
621
-
622
- * Remove `label` argument in favor of `aria-label` in `ClipboardCopy`.
623
-
624
- *Manuel Puyol*
625
-
626
- ### Misc
627
-
628
- * Add autocorrect for button linters.
629
-
630
- *Manuel Puyol*
631
-
632
- * Unify contributing guidelines.
633
-
634
- *Kate Higa*
635
-
636
- * Rerun flaky system tests.
637
-
638
- *Manuel Puyol*
639
-
640
- * Check if selector is a classify class in Utilities.
641
-
642
- *Jon Rohan*
643
-
644
- ## 0.0.44
645
-
646
- ### Updates
647
-
648
- * Allow `Dropdown` menu items to be rendered outside a list.
649
-
650
- *Manuel Puyol*
651
-
652
- ### Breaking changes
653
-
654
- * Require a label or `aria-label` to be provided for `AutoComplete` component.
655
-
656
- *Kate Higa*
657
-
658
- * Renames:
659
- * `DropdownComponent` to `Dropdown`.
660
- * `Dropdown::MenuComponent` to `Dropdown::Menu`.
661
- * `Primer::ButtonMarketingComponent` to `Primer::Alpha::ButtonMarketing`.
662
- * `Primer::TextComponent` to `Primer::Beta::Text`.
663
-
664
- *Manuel Puyol*
665
-
666
- * Removes `summary_classes` attribute in favor of the `summary` slot in `Dropdown`.
667
-
668
- *Manuel Puyol*
669
-
670
- ### Misc
671
-
672
- * Replace Classify::Spacing class with pre-generated mappings.
673
-
674
- *Jon Rohan*
675
-
676
- * Add linter suggestions for `Button` component.
677
-
678
- *Manuel Puyol*
679
-
680
- * Sort documentation arguments.
681
-
682
- *Jon Rohan*
683
-
684
- * Add validations for docs generation.
685
-
686
- *Manuel Puyol, Kate Higa*
687
-
688
- * Change docs header order.
689
-
690
- *Manuel Puyol, Kate Higa*
691
-
692
- * Add preliminary criteria for new `alpha` components.
693
-
694
- *Joel Hawksley*
695
-
696
- ## 0.0.43
697
-
698
- ### New
699
-
700
- * Add `clearfix` and `container` system arguments.
701
-
702
- *Manuel Puyol*
703
-
704
- ### Updates
705
-
706
- * Promote `TabNav` component to beta.
707
-
708
- *Manuel Puyol*
709
-
710
- * Allow customizing `TabContainer` when using `TabNav` and `UnderlineNav` components.
711
-
712
- *Manuel Puyol*
713
-
714
- ### Breaking changes
715
-
716
- * Restrict `col` system arguments to only accept values between 1 and 12.
717
-
718
- *Manuel Puyol*
719
-
720
- ### Misc
721
-
722
- * Raise an error if `class` is used as a system argument.
723
-
724
- *Manuel Puyol*
725
-
726
- * Don't commit auto-generated component previews.
727
-
728
- *Kate Higa*
729
-
730
- * Provide linters for component migrations.
731
-
732
- *Manuel Puyol*
733
-
734
- * Update docs to accept multiline descriptions.
735
-
736
- *Manuel Puyol*
737
-
738
- * Upgrade primer/css to 17.2.1
739
-
740
- *Jon Rohan*
741
-
742
- ## 0.0.42
743
-
744
- ### New
745
-
746
- * Add `font_family`, `font_style` and `text_transform` system arguments.
747
-
748
- *Manuel Puyol*
749
-
750
- * Add more options for `font_size` and `font_weight`.
751
-
752
- *Manuel Puyol*
753
-
754
- ### Updates
755
-
756
- * Add `align` option to the `TabNav` extra slot to allow HTML ordering.
757
-
758
- *Manuel Puyol*
759
-
760
- ### Misc
761
-
762
- * Auto-generate component previews from doc examples and run integration test checks.
763
-
764
- *Kate Higa, Joel Hawksley*
765
-
766
- * Configure previews controller to allow view helper usage in preview template.
767
-
768
- *Kate Higa*
769
-
770
- * Only include `ViewComponent::SlotableV2` if `ViewComponent::Base` does not already include it.
771
-
772
- *Manuel Puyol*
773
-
774
- * Add `force_system_arguments` option to raise an error if a class is used instead of using System Arguments.
775
-
776
- *Manuel Puyol*
777
-
778
- ### Breaking changes
779
-
780
- * Restrict allowed tags for `Truncate`, `Markdown`, and `HiddenTextExpander`.
781
-
782
- *Kate Higa*
783
-
784
- ## 0.0.41
785
-
786
- ### New
787
-
788
- * Create `LocalTime` component.
789
-
790
- *Kristján Oddsson*
791
-
792
- * Create `Image` component.
793
-
794
- *Manuel Puyol*
795
-
796
- * Add `extra` slot to `TabNav`.
797
-
798
- *Manuel Puyol*
799
-
800
- * Do not raise error if Primer CSS class name is passed to component if `PRIMER_WARNINGS_DISABLED` is set.
801
-
802
- *Joel Hawksley*
803
-
804
- ### Accessibility
805
-
806
- * Accept `aria-current="true"` in tabbed components.
807
-
808
- *Manuel Puyol*
809
-
810
- ### Changes
811
-
812
- * Promote `Tooltip` component to beta.
813
-
814
- *Manuel Puyol*
815
-
816
- ### Bug fixes
817
-
818
- * Ensure that `ClipboardCopy` behaviors only target ViewComponents.
819
-
820
- *Manuel Puyol*
821
-
822
- * Ensure that the `rounded` attribute for `<image-crop>` is represented as a boolean attribute.
823
-
824
- *Kristján Oddsson*
825
-
826
- ### Breaking changes
827
-
828
- * Rename `TooltipComponent` to `Tooltip`.
829
-
830
- *Manuel Puyol*
831
-
832
- * Don't allow `OcticonComponent` height/width values under 16px
833
-
834
- *Jon Rohan*
835
-
836
- * Remove `:large` size option from `OcticonComponent` and change `:medium` to 24px
837
-
838
- *Jon Rohan*
839
-
840
- * Restrict `Label` tag to `span`, `div`, `a`, `summary`.
841
-
842
- *Kate Higa*
843
-
844
- ### Misc
845
-
846
- * Add a CI check for changes to the CHANGELOG file.
847
-
848
- *Kristján Oddsson*
849
-
850
- ## 0.0.40
851
-
852
- ### New
853
-
854
- * Create `ImageCrop` component.
855
-
856
- *Kristján Oddsson*
857
-
858
- ### Changes
859
-
860
- * Promote `IconButton` to beta.
861
-
862
- *Manuel Puyol*
863
-
864
- * Add `box` argument to `IconButton`.
865
-
866
- *Manuel Puyol*
867
-
868
- * Promote `Markdown` to beta.
869
-
870
- *Manuel Puyol*
871
-
872
- ### Bug fixes
873
-
874
- * Fix `IconButton` raising when `aria-label` was provided using an object.
875
-
876
- *Manuel Puyol*
877
-
878
- * Fix disabling of default styles for `SpinnerComponent` via `nil` style parameter.
879
-
880
- *Chris Wilson*
881
-
882
- ### Deprecations
883
-
884
- * Deprecate `Flex` in favor of `BoxComponent`.
885
-
886
- *Manuel Puyol*
887
-
888
- ### Breaking Changes
889
-
890
- * Restrict `ButtonGroup` tag to `:div` and update docs for `Text` tag.
891
-
892
- *Kate Higa*
893
-
894
- * Remove non-functional `width` and `height` `:fill` option.
895
-
896
- *Jon Rohan*, *Joel Hawksley*
897
-
898
- * Restrict `Subhead` `heading` slot tag to `div` and `h1`-`h6`.
899
-
900
- *Kate Higa*
901
-
902
- * Restrict `Blankslate` tag to `div`.
903
-
904
- *Kate Higa*
905
-
906
- * Explicitly limit tag for `AvatarStack` to `:div` and `:span`.
907
-
908
- *Kate Higa*
909
-
910
- * Rename `MarkdownComponent` to `Markdown`.
911
-
912
- *Manuel Puyol*
913
-
914
- ## 0.0.39
915
-
916
- * Promote `CloseButton` to beta.
917
-
918
- *Manuel Puyol*
919
-
920
- * Update `ClipboardCopy` to not toggle icons unless they both exist.
921
-
922
- *Kristján Oddsson*
923
-
924
- * Add `icon` and `counter` slots to `ButtonComponent`.
925
-
926
- *Manuel Puyol*
927
-
928
- * Create `IconButton` component.
929
-
930
- *Manuel Puyol*
931
-
932
- * Removing trailing whitespace from output of `class=""` Classify generation.
933
-
934
- *Jon Rohan*
935
-
936
- * Deprecate `FlexItem` in favor of `BoxComponent`.
937
-
938
- *Manuel Puyol*
939
-
940
- * Dropping requirement of `octicons_helper` and updating `OcticonComponent` to use `octicon` gem directly.
941
-
942
- *Jon Rohan*
943
-
944
- * **Breaking change:** Remove `:overlay` option from `border_color`.
945
-
946
- *Simon Luthi*
947
-
948
- ## 0.0.38
949
-
950
- * Extract `BaseButton` component.
951
-
952
- *Manuel Puyol*
953
-
954
- * Add default `aria-label` of "Close" to `CloseButton` component.
955
-
956
- *Kate Higa*
957
-
958
- * Set button variants in the `ButtonGroup` parent.
959
-
960
- *Manuel Puyol*
961
-
962
- * Create `ClipboardCopy` component.
963
-
964
- *Kristján Oddsson*
965
-
966
- * **Breaking change:** Rename `ButtonGroupComponent` to `ButtonGroup` and promote it to beta.
967
-
968
- *Manuel Puyol*
969
-
970
- * **Breaking change:** Do not provide default for `Heading` and improve documentation.
971
-
972
- *Kate Higa*
973
-
974
- * **Breaking change:** Don't allow `StateComponent` to be a link.
975
-
976
- *Kate Higa*
977
-
978
- ## 0.0.37
979
-
980
- * Update NPM package to include subdirectory JS files.
981
-
982
- *Manuel Puyol*
983
-
984
- ## 0.0.36
985
-
986
- * Add `block` flag to `ButtonComponent`.
987
-
988
- *Manuel Puyol*
989
-
990
- * Add `link` and `invisible` schemes to `ButtonComponent`.
991
-
992
- *Manuel Puyol*
993
-
994
- * Create `CloseButton` and `HiddenTextExpander` component.
995
-
996
- *Manuel Puyol*
997
-
998
- * **Breaking change:** Rename `AutoCompleteComponent` to `AutoComplete` and `AutoCompleteItemComponent` to `AutoComplete::Item`.
999
-
1000
- *Manuel Puyol*
1001
-
1002
- * **Breaking change:** Rename `TruncateComponent` to `Truncate` and promote it to beta.
1003
-
1004
- *Manuel Puyol*
1005
-
1006
- ## 0.0.35
1007
-
1008
- * Promote `AutoCompleteComponent`, `AutoCompleteItemComponent`, `AvatarStackComponent` and `ButtonComponent` to beta.
1009
-
1010
- *Manuel Puyol*
1011
-
1012
- * Allow `UnderlineNav` tabs to be rendered as a `<ul><li>` list.
1013
-
1014
- *Manuel Puyol*
1015
-
1016
- * _Accessibility:_ Don't add tab roles when `UnderlineNav` or `TabNav` use link redirects.
1017
-
1018
- *Manuel Puyol*
1019
-
1020
- * **Breaking change:** Make `label` required for `UnderlineNav` and `TabNav`.
1021
-
1022
- *Manuel Puyol*
1023
-
1024
- ## 0.0.34
1025
-
1026
- * Add `p: :responsive` and `m: :auto` system arguments.
1027
-
1028
- *Manuel Puyol*
1029
-
1030
- * Remove `my: :auto` and negative `m:` system arguments.
1031
-
1032
- *Manuel Puyol*
1033
-
1034
- * **Breaking change:** Rename `FlashComponent` `variant` argument to `scheme`.
1035
-
1036
- *Manuel Puyol*
1037
-
1038
- * **Breaking change:** Rename `LinkComponent` `variant` argument to `scheme`.
1039
-
1040
- *Manuel Puyol*
1041
-
1042
- * **Breaking change:** Rename `ButtonComponent` `button_type` argument to `scheme`.
1043
-
1044
- *Manuel Puyol*
1045
-
1046
- * **Breaking change:** Rename `ButtonMarketing` `button_type` argument to `scheme`.
1047
-
1048
- *Manuel Puyol*
1049
-
1050
- * **Breaking change:** Rename `StateComponent` `color` argument to `scheme`.
1051
-
1052
- *Manuel Puyol*
1053
-
1054
- ## 0.0.33
1055
-
1056
- * Remove `TabbedComponent` validation requiring a tab to be selected.
1057
-
1058
- *Manuel Puyol*
1059
-
1060
- ## 0.0.32
1061
-
1062
- * Allow passing the icon name as a positional argument to `OcticonComponent`.
1063
-
1064
- *Manuel Puyol*
1065
-
1066
- * Promote `TimeAgoComponent` to beta.
1067
-
1068
- *Manuel Puyol*
1069
-
1070
- * **Breaking change:** Update `TabNav#tab` API to accept the tab content as a block and panel content as a slot.
1071
-
1072
- *Manuel Puyol*
1073
-
1074
- * **Breaking change:** Update `UnderlineNavComponent` API be more strict and support `TabContainer`.
1075
-
1076
- *Manuel Puyol*
1077
-
1078
- ## 0.0.31
1079
-
1080
- * Fix `Popover` bug where body was only returning the last line of the HTML.
1081
-
1082
- *Manuel Puyol, Blake Williams*
1083
-
1084
- ## 0.0.30
1085
-
1086
- * Make `color:`, `bg:` and `border_color:` accept string values.
1087
-
1088
- *Manuel Puyol*
1089
-
1090
- ## 0.0.29
1091
-
1092
- * Add `primer_time_ago` helper.
1093
-
1094
- *Simon Taranto*
1095
-
1096
- * Add `silence_deprecations` config to supress deprecation warnings.
1097
-
1098
- *Manuel Puyol*
1099
-
1100
- ## 0.0.28
1101
-
1102
- * Update `CounterComponent` to accept functional schemes `primary` and `secondary`. Deprecate `gray` and `light_gray` schemes.
1103
-
1104
- *Manuel Puyol*
1105
-
1106
- * Add `force_functional_colors` option to convert colors to functional. This change includes a deprecation warning in non-production environments that warns about non functional color usage.
1107
-
1108
- *Manuel Puyol*
1109
-
1110
- * Promote `DetailsComponent`, `HeadingComponent`, `TextComponent`, `TimelineItemComponent`, and
1111
- `PopoverComponent` to beta status.
1112
-
1113
- *Simon Taranto*
1114
-
1115
- * Update `LinkComponent`:
1116
- * use `Link--muted` instead of `muted-link`.
1117
- * accept `variant` and `underline` options.
1118
- * accept `:span` as a tag.
1119
-
1120
- *Manuel Puyol*
1121
-
1122
- * Add `AutoComplete` and `AutoCompleteItem` components.
1123
-
1124
- *Manuel Puyol*
1125
-
1126
- * Publish types with npm package.
1127
-
1128
- *Keith Cirkel* & *Clay Miller*
1129
-
1130
- * Fix `AvatarComponent` to apply classes to the link wrapper if present.
1131
-
1132
- *Steve Richert*
1133
-
1134
- * Fix `AvatarComponent` to apply the `avatar-small` class rather than `avatar--small`.
1135
-
1136
- *Steve Richert*
1137
-
1138
- * **Breaking change:** Updates `PopoverComponent` to use Slots V2.
1139
-
1140
- *Manuel Puyol*
1141
-
1142
- ## 0.0.27
1143
-
1144
- * Promote `BreadcrumbComponent` and `ProgressBarComponent` to beta status.
1145
-
1146
- *Simon Taranto*
1147
-
1148
- * Fix `OcticonComponent` not rendering `data-test-selector` correctly.
1149
-
1150
- *Manuel Puyol*
1151
-
1152
- * Add `TimeAgo` component.
1153
-
1154
- *Keith Cirkel*
1155
-
1156
- * **Breaking change:** Updates `UnderlineNavComponent` to use Slots V2.
1157
-
1158
- *Simon Taranto*
1159
-
1160
- * **Breaking change:** Upgrade `LayoutComponent` to use Slots V2.
1161
-
1162
- *Simon Taranto*
1163
-
1164
- ## 0.0.26
1165
-
1166
- * Fix `DetailsComponent` summary always being rendered as a `btn`.
1167
-
1168
- *Manuel Puyol*
1169
-
1170
- * Promote `BlankslateComponent` and `BaseComponent` to beta status.
1171
-
1172
- *Simon Taranto*
1173
-
1174
- ## 0.0.25
1175
-
1176
- * Promote `SubheadComponent` to beta.
1177
-
1178
- *Simon Taranto*
1179
-
1180
- * Add deprecated `orange` and `purple` schemes to `LabelComponent`.
1181
-
1182
- *Manuel Puyol*
1183
-
1184
- ## 0.0.24
1185
-
1186
- * Fix zeitwerk autoload integration.
1187
-
1188
- *Manuel Puyol*
1189
-
1190
- * **Breaking change:** Upgrade `ProgressBarComponent` to use Slots V2.
1191
-
1192
- *Simon Taranto*
1193
-
1194
- * **Breaking change:** Upgrade `BreadcrumbComponent` to use Slots V2.
1195
-
1196
- *Manuel Puyol*
1197
-
1198
- ## 0.0.23
1199
-
1200
- * Remove node and yarn version requirements from `@primer/view-components`.
1201
-
1202
- *Manuel Puyol*
1203
-
1204
- * **Breaking change:** Upgrade `SubheadComponent` to use Slots V2.
1205
-
1206
- *Simon Taranto*
1207
-
1208
- * **Breaking change:** Update `LabelComponent` to use only functional color
1209
- supportive scheme keys. The component no longer accepts colors (`:gray`, for
1210
- example) but only functional schemes (`primary`, for example).
1211
- `LabelComponent` is promoted to beta status.
1212
-
1213
- *Simon Taranto*
1214
-
1215
- ## 0.0.22
1216
-
1217
- * Add view helpers to easily render Primer components.
1218
-
1219
- *Manuel Puyol*
1220
-
1221
- * Add `TabContainer` and `TabNav` components.
1222
-
1223
- *Manuel Puyol*
1224
-
1225
- * Promote `StateComponent` to beta.
1226
-
1227
- *Simon Taranto*
1228
-
1229
- * **Breaking change:** Upgrade `BorderBoxComponent` to use Slots V2.
1230
-
1231
- *Manuel Puyol*
1232
-
1233
- * **Breaking change:** Upgrade `StateComponent` to support functional colors. This change requires using [@primer/css-next](https://www.npmjs.com/package/@primer/css-next). The required changes will be upstreamed to @primer/css at a later date.
1234
-
1235
- *Simon Taranto*
1236
-
1237
- * **Breaking change:** Upgrade `DetailsComponent` to use Slots V2.
1238
-
1239
- *Simon Taranto*
1240
-
1241
- ## 0.0.21
1242
-
1243
- * **Breaking change:** Upgrade `FlashComponent` to use Slots V2.
1244
-
1245
- *Joel Hawksley, Simon Taranto*
1246
-
1247
- * **Breaking change:** Upgrade `BlankslateComponent` to use Slots V2.
1248
-
1249
- *Manuel Puyol*
1250
-
1251
- * **Breaking change:** Upgrade `TimelineItemComponent` to use Slots V2.
1252
-
1253
- *Manuel Puyol*
1254
-
1255
- ## 0.0.20
1256
-
1257
- * Fix bug when empty string was passed to Classify.
1258
-
1259
- *Manuel Puyol*
1260
-
1261
- ## 0.0.19
1262
-
1263
- * Add support for functional colors to `color` system argument.
1264
-
1265
- *Jake Shorty*
1266
-
1267
- * Add `AvatarStack`, `Dropdown`, `Markdown` and `Menu` components.
1268
-
1269
- *Manuel Puyol*
1270
-
1271
- * Deprecate `DropdownMenuComponent`.
1272
-
1273
- *Manuel Puyol*
1274
-
1275
- * Fix `Avatar` bug when used with links.
1276
-
1277
- *Manuel Puyol*
1278
-
1279
- * Add cache for common Primer values.
1280
-
1281
- *Blake Williams*
1282
-
1283
- * Add support for `octicons_helper` v12.
1284
-
1285
- *Cole Bemis*
1286
-
1287
- * Add support for `border: true` to apply the `border` class.
1288
-
1289
- *Simon Taranto*
1290
-
1291
- * Promote `Avatar`, `Link`, and `Counter` components to beta.
1292
-
1293
- *Simon Taranto*
1294
-
1295
- * **Breaking change:** Drop support for Ruby 2.4.
1296
-
1297
- *Simon Taranto*
1298
-
1299
- ## 0.0.18
1300
-
1301
- * Add `border_radius` system argument.
1302
-
1303
- *Ash Guillaume*
1304
-
1305
- * Add `animation` system argument.
1306
-
1307
- *Manuel Puyol*
1308
-
1309
- * Add `Truncate`, `ButtonGroup` and `ButtonMarketing` components.
1310
-
1311
- *Manuel Puyol*
1312
-
1313
- * Add `Tooltip` component.
1314
-
1315
- *Simon Taranto*
1316
-
1317
- ## 0.0.17
1318
-
1319
- * Ensure all components support inline styles.
1320
-
1321
- *Joel Hawksley*
1322
-
1323
- ## 0.0.16
1324
-
1325
- * Adding a `spinner` slot to the `BlankslateComponent` that uses the `SpinnerComponent` added in `0.0.10`.
1326
-
1327
- *Jon Rohan*
1328
-
1329
- * Bumping node engine to version `15.x`
1330
-
1331
- *Jon Rohan*
1332
-
1333
- ## 0.0.15
1334
-
1335
- * Add ability to disable `limit` on Counter.
1336
-
1337
- *Christian Giordano*
1338
-
1339
- * Rename `v` system argument to `visibility`.
1340
-
1341
- *Joel Hawksley*
1342
-
1343
- ## 0.0.14
1344
-
1345
- * Add functional colors to Label.
1346
-
1347
- *Joel Hawksley*
1348
-
1349
- ## 0.0.13
1350
-
1351
- * Add support for `xl` breakpoint.
1352
-
1353
- *Joel Hawksley*
1354
-
1355
- ## 0.0.12
1356
-
1357
- * Adds support for disabling inline box-sizing style for `SpinnerComponent` via style parameter `Primer::SpinnerComponent.new(style: nil)`.
1358
-
1359
- *Chris Wilson*
1360
-
1361
- ## 0.0.11
1362
-
1363
- * Renames DetailsComponent::OVERLAY_DEFAULT to DetailsComponent::NO_OVERLAY to more correctly describe its value.
1364
-
1365
- *Justin Kenyon*
1366
-
1367
- ## 0.0.10
1368
-
1369
- * Add SpinnerComponent
1370
-
1371
- *Cole Bemis*
1372
-
1373
- ## 0.0.9
1374
-
1375
- * BREAKING CHANGE: OcticonComponent no longer accepts `class` parameter; use `classes` instead.
1376
-
1377
- *heynan0*
1378
-
1379
- ## 0.0.8
1380
-
1381
- * Add support for border margins, such as: `border_top: 0`.
1382
-
1383
- *Natasha Umer*
1384
-
1385
- * Add FlashComponent and OcticonComponent.
1386
-
1387
- *Joel Hawksley*
1388
-
1389
- * BREAKING CHANGE: BlankslateComponent accepts `icon_size` instead of `icon_height`.
1390
-
1391
- *Joel Hawksley*
1392
-
1393
- ## 0.0.7
1394
-
1395
- * Use `octicons_helper` v11.0.0.
1396
-
1397
- *Joel Hawksley*
1398
-
1399
- ## 0.0.6
1400
-
1401
- * Updated the invalid class name error message
1402
-
1403
- *emplums*
1404
-
1405
- * Updated README with testing instructions
1406
-
1407
- *emplums*
1408
-
1409
- * Add large and spacious option to BlankslateComponent
1410
-
1411
- *simurai*
1412
-
1413
- * Add option for `ButtonComponent` to render a `summary` tag
1414
-
1415
- *Manuel Puyol*
1416
-
1417
- * BREAKING CHANGE: Changed `DetailsComponent` summary and body to be slots
1418
-
1419
- *Manuel Puyol*
1420
-
1421
- ## 0.0.5
1422
-
1423
- * Add support for box_shadow
1424
- * Add components:
1425
- * Popover
1426
-
1427
- *Sarah Vessels*
1428
-
1429
- ## 0.0.4
1430
-
1431
- * Added support for mx: and my: :auto.
1432
-
1433
- *Christian Giordano*
1434
-
1435
- * Added support for custom layout sizes.
1436
-
1437
- *Manuel Puyol*
1438
-
1439
- ## 0.0.3
1440
-
1441
- * Add support for responsive `float` system argument.
1442
-
1443
- *Joel Hawksley*
1444
-
1445
- * Add components:
1446
- * Avatar
1447
- * Blankslate
1448
-
1449
- *Manuel Puyol, Ben Emdon*
1450
-
1451
- ## 0.0.1
1452
-
1453
- * Add initial gem configuration.
1454
-
1455
- *Manuel Puyol, Joel Hawksley*
1456
-
1457
- * Add demo app and storybook to test
1458
-
1459
- *Manuel Puyol*
1460
-
1461
- * Add Classify, FetchOrFallback and ClassName helpers
1462
-
1463
- *Manuel Puyol*
1464
-
1465
- * Add components:
1466
- * BorderBox
1467
- * Box
1468
- * Breadcrumb
1469
- * Button
1470
- * Counter
1471
- * Details
1472
- * Dropdown
1473
- * Flex
1474
- * FlexItem
1475
- * Heading
1476
- * Label
1477
- * Layout
1478
- * Link
1479
- * ProgressBar
1480
- * State
1481
- * Subhead
1482
- * Text
1483
- * TimelineItem
1484
- * UnderlineNav
1485
-
1486
- *Manuel Puyol*