@primer/view-components 0.0.59 → 0.0.63

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