@primer/view-components 0.0.60 → 0.0.64

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