primer_view_components 0.0.88 → 0.0.91
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +0 -0
- data/app/assets/styles/primer_view_components.css.map +1 -0
- data/app/components/primer/alpha/auto_complete.rb +2 -2
- data/app/components/primer/alpha/hidden_text_expander.rb +57 -0
- data/app/components/primer/alpha/layout.rb +34 -32
- data/app/components/primer/alpha/segmented-control-element.js +5 -4
- data/app/components/primer/alpha/tab_nav.rb +20 -20
- data/app/components/primer/alpha/tab_panels.rb +2 -2
- data/app/components/primer/alpha/tool-tip-element.d.ts +1 -3
- data/app/components/primer/alpha/tool-tip-element.js +13 -19
- data/app/components/primer/alpha/tool-tip-element.ts +14 -22
- data/app/components/primer/alpha/tooltip.rb +72 -53
- data/app/components/primer/alpha/underline_nav.rb +16 -16
- data/app/components/primer/alpha/underline_panels.rb +3 -3
- data/app/components/primer/base_component.rb +1 -1
- data/app/components/primer/beta/auto_complete/item.rb +2 -2
- data/app/components/primer/beta/auto_complete.rb +2 -2
- data/app/components/primer/beta/avatar_stack.rb +9 -9
- data/app/components/primer/beta/blankslate.rb +2 -2
- data/app/components/primer/beta/border_box/header.rb +4 -2
- data/app/components/primer/beta/border_box.rb +13 -13
- data/app/components/primer/beta/breadcrumbs.rb +3 -3
- data/app/components/primer/beta/button_group.rb +9 -9
- data/app/components/primer/beta/close_button.rb +41 -0
- data/app/components/primer/beta/counter.rb +113 -0
- data/app/components/primer/{details_component.html.erb → beta/details.html.erb} +0 -0
- data/app/components/primer/beta/details.rb +70 -0
- data/app/components/primer/beta/flash.rb +1 -1
- data/app/components/primer/beta/heading.rb +46 -0
- data/app/components/primer/beta/truncate.rb +17 -17
- data/app/components/primer/blankslate_component.rb +1 -1
- data/app/components/primer/button_component.rb +8 -8
- data/app/components/primer/close_button.rb +2 -34
- data/app/components/primer/counter_component.rb +2 -106
- data/app/components/primer/details_component.rb +2 -63
- data/app/components/primer/dropdown.html.erb +1 -1
- data/app/components/primer/dropdown.rb +15 -15
- data/app/components/primer/dropdown_menu_component.rb +1 -1
- data/app/components/primer/heading_component.rb +2 -39
- data/app/components/primer/hidden_text_expander.rb +2 -48
- data/app/components/primer/icon_button.html.erb +8 -2
- data/app/components/primer/icon_button.rb +7 -0
- data/app/components/primer/image_crop.rb +1 -1
- data/app/components/primer/label_component.rb +2 -1
- data/app/components/primer/layout_component.rb +4 -4
- data/app/components/primer/link_component.rb +1 -1
- data/app/components/primer/menu_component.rb +5 -5
- data/app/components/primer/navigation/tab_component.rb +12 -12
- data/app/components/primer/popover_component.rb +10 -10
- data/app/components/primer/primer.pcss +1 -0
- data/app/components/primer/subhead_component.rb +10 -10
- data/app/components/primer/timeline_item_component.rb +3 -3
- data/app/lib/primer/join_style_arguments_helper.rb +1 -1
- data/app/lib/primer/view_helper.rb +1 -1
- data/lib/primer/view_components/linters/argument_mappers/close_button.rb +2 -2
- data/lib/primer/view_components/linters/close_button_component_migration_counter.rb +2 -2
- data/lib/primer/view_components/linters/flash_migration_counter.rb +1 -1
- data/lib/primer/view_components/linters/helpers/deprecated_components_helpers.rb +5 -0
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/rubocop/cop/primer/component_name_migration.rb +5 -0
- data/lib/tasks/docs.rake +5 -5
- data/static/arguments.yml +87 -87
- data/static/audited_at.json +5 -0
- data/static/constants.json +54 -44
- data/static/statuses.json +11 -6
- metadata +11 -3
data/static/arguments.yml
CHANGED
@@ -22,6 +22,21 @@
|
|
22
22
|
type: Hash
|
23
23
|
default: N/A
|
24
24
|
description: "[System arguments](/system-arguments)"
|
25
|
+
- component: HiddenTextExpander
|
26
|
+
source: https://github.com/primer/view_components/tree/main/app/components/primer/alpha/hidden_text_expander.rb
|
27
|
+
parameters:
|
28
|
+
- name: inline
|
29
|
+
type: Boolean
|
30
|
+
default: "`false`"
|
31
|
+
description: Whether or not the expander is inline.
|
32
|
+
- name: button_arguments
|
33
|
+
type: Hash
|
34
|
+
default: "`{}`"
|
35
|
+
description: "[System arguments](/system-arguments) for the button element."
|
36
|
+
- name: system_arguments
|
37
|
+
type: Hash
|
38
|
+
default: N/A
|
39
|
+
description: "[System arguments](/system-arguments)"
|
25
40
|
- component: Layout
|
26
41
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/alpha/layout.rb
|
27
42
|
parameters:
|
@@ -477,6 +492,67 @@
|
|
477
492
|
type: Hash
|
478
493
|
default: N/A
|
479
494
|
description: "[System arguments](/system-arguments)"
|
495
|
+
- component: CloseButton
|
496
|
+
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/close_button.rb
|
497
|
+
parameters:
|
498
|
+
- name: type
|
499
|
+
type: Symbol
|
500
|
+
default: "`:button`"
|
501
|
+
description: One of `:button` or `:submit`.
|
502
|
+
- name: system_arguments
|
503
|
+
type: Hash
|
504
|
+
default: N/A
|
505
|
+
description: "[System arguments](/system-arguments)"
|
506
|
+
- component: Counter
|
507
|
+
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/counter.rb
|
508
|
+
parameters:
|
509
|
+
- name: count
|
510
|
+
type: Integer, Float::INFINITY, nil
|
511
|
+
default: "`0`"
|
512
|
+
description: 'The number to be displayed (e.x. # of issues, pull requests)'
|
513
|
+
- name: scheme
|
514
|
+
type: Symbol
|
515
|
+
default: "`:default`"
|
516
|
+
description: Color scheme. One of `:default`, `:primary`, or `:secondary`.
|
517
|
+
- name: limit
|
518
|
+
type: Integer, nil
|
519
|
+
default: "`5_000`"
|
520
|
+
description: Maximum value to display. Pass `nil` for no limit. (e.x. if `count`
|
521
|
+
== 6,000 and `limit` == 5000, counter will display "5,000+")
|
522
|
+
- name: hide_if_zero
|
523
|
+
type: Boolean
|
524
|
+
default: "`false`"
|
525
|
+
description: If true, a `hidden` attribute is added to the counter if `count`
|
526
|
+
is zero.
|
527
|
+
- name: text
|
528
|
+
type: String
|
529
|
+
default: '`""`'
|
530
|
+
description: Text to display instead of count.
|
531
|
+
- name: round
|
532
|
+
type: Boolean
|
533
|
+
default: "`false`"
|
534
|
+
description: Whether to apply our standard rounding logic to value.
|
535
|
+
- name: system_arguments
|
536
|
+
type: Hash
|
537
|
+
default: N/A
|
538
|
+
description: "[System arguments](/system-arguments)"
|
539
|
+
- component: Details
|
540
|
+
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/details.rb
|
541
|
+
parameters:
|
542
|
+
- name: overlay
|
543
|
+
type: Symbol
|
544
|
+
default: "`:none`"
|
545
|
+
description: Dictates the type of overlay to render with. One of `:dark`, `:default`,
|
546
|
+
or `:none`.
|
547
|
+
- name: reset
|
548
|
+
type: Boolean
|
549
|
+
default: "`false`"
|
550
|
+
description: Defaults to false. If set to true, it will remove the default caret
|
551
|
+
and remove style from the summary element
|
552
|
+
- name: system_arguments
|
553
|
+
type: Hash
|
554
|
+
default: N/A
|
555
|
+
description: "[System arguments](/system-arguments)"
|
480
556
|
- component: Flash
|
481
557
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/flash.rb
|
482
558
|
parameters:
|
@@ -504,6 +580,17 @@
|
|
504
580
|
type: Hash
|
505
581
|
default: N/A
|
506
582
|
description: "[System arguments](/system-arguments)"
|
583
|
+
- component: Heading
|
584
|
+
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/heading.rb
|
585
|
+
parameters:
|
586
|
+
- name: tag
|
587
|
+
type: String
|
588
|
+
default: N/A
|
589
|
+
description: One of `:h1`, `:h2`, `:h3`, `:h4`, `:h5`, or `:h6`.
|
590
|
+
- name: system_arguments
|
591
|
+
type: Hash
|
592
|
+
default: N/A
|
593
|
+
description: "[System arguments](/system-arguments)"
|
507
594
|
- component: Text
|
508
595
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/beta/text.rb
|
509
596
|
parameters:
|
@@ -588,67 +675,6 @@
|
|
588
675
|
type: Hash
|
589
676
|
default: N/A
|
590
677
|
description: "[System arguments](/system-arguments)"
|
591
|
-
- component: CloseButton
|
592
|
-
source: https://github.com/primer/view_components/tree/main/app/components/primer/close_button.rb
|
593
|
-
parameters:
|
594
|
-
- name: type
|
595
|
-
type: Symbol
|
596
|
-
default: "`:button`"
|
597
|
-
description: One of `:button` or `:submit`.
|
598
|
-
- name: system_arguments
|
599
|
-
type: Hash
|
600
|
-
default: N/A
|
601
|
-
description: "[System arguments](/system-arguments)"
|
602
|
-
- component: Counter
|
603
|
-
source: https://github.com/primer/view_components/tree/main/app/components/primer/counter_component.rb
|
604
|
-
parameters:
|
605
|
-
- name: count
|
606
|
-
type: Integer, Float::INFINITY, nil
|
607
|
-
default: "`0`"
|
608
|
-
description: 'The number to be displayed (e.x. # of issues, pull requests)'
|
609
|
-
- name: scheme
|
610
|
-
type: Symbol
|
611
|
-
default: "`:default`"
|
612
|
-
description: Color scheme. One of `:default`, `:primary`, or `:secondary`.
|
613
|
-
- name: limit
|
614
|
-
type: Integer, nil
|
615
|
-
default: "`5_000`"
|
616
|
-
description: Maximum value to display. Pass `nil` for no limit. (e.x. if `count`
|
617
|
-
== 6,000 and `limit` == 5000, counter will display "5,000+")
|
618
|
-
- name: hide_if_zero
|
619
|
-
type: Boolean
|
620
|
-
default: "`false`"
|
621
|
-
description: If true, a `hidden` attribute is added to the counter if `count`
|
622
|
-
is zero.
|
623
|
-
- name: text
|
624
|
-
type: String
|
625
|
-
default: '`""`'
|
626
|
-
description: Text to display instead of count.
|
627
|
-
- name: round
|
628
|
-
type: Boolean
|
629
|
-
default: "`false`"
|
630
|
-
description: Whether to apply our standard rounding logic to value.
|
631
|
-
- name: system_arguments
|
632
|
-
type: Hash
|
633
|
-
default: N/A
|
634
|
-
description: "[System arguments](/system-arguments)"
|
635
|
-
- component: Details
|
636
|
-
source: https://github.com/primer/view_components/tree/main/app/components/primer/details_component.rb
|
637
|
-
parameters:
|
638
|
-
- name: overlay
|
639
|
-
type: Symbol
|
640
|
-
default: "`:none`"
|
641
|
-
description: Dictates the type of overlay to render with. One of `:dark`, `:default`,
|
642
|
-
or `:none`.
|
643
|
-
- name: reset
|
644
|
-
type: Boolean
|
645
|
-
default: "`false`"
|
646
|
-
description: Defaults to false. If set to true, it will remove the default caret
|
647
|
-
and remove style from the summary element
|
648
|
-
- name: system_arguments
|
649
|
-
type: Hash
|
650
|
-
default: N/A
|
651
|
-
description: "[System arguments](/system-arguments)"
|
652
678
|
- component: Dropdown
|
653
679
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/dropdown.rb
|
654
680
|
parameters:
|
@@ -727,17 +753,6 @@
|
|
727
753
|
type: Hash
|
728
754
|
default: N/A
|
729
755
|
description: "[System arguments](/system-arguments)"
|
730
|
-
- component: Heading
|
731
|
-
source: https://github.com/primer/view_components/tree/main/app/components/primer/heading_component.rb
|
732
|
-
parameters:
|
733
|
-
- name: tag
|
734
|
-
type: String
|
735
|
-
default: N/A
|
736
|
-
description: One of `:h1`, `:h2`, `:h3`, `:h4`, `:h5`, or `:h6`.
|
737
|
-
- name: system_arguments
|
738
|
-
type: Hash
|
739
|
-
default: N/A
|
740
|
-
description: "[System arguments](/system-arguments)"
|
741
756
|
- component: HellipButton
|
742
757
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/hellip_button.rb
|
743
758
|
parameters:
|
@@ -749,21 +764,6 @@
|
|
749
764
|
type: Hash
|
750
765
|
default: N/A
|
751
766
|
description: "[System arguments](/system-arguments)"
|
752
|
-
- component: HiddenTextExpander
|
753
|
-
source: https://github.com/primer/view_components/tree/main/app/components/primer/hidden_text_expander.rb
|
754
|
-
parameters:
|
755
|
-
- name: inline
|
756
|
-
type: Boolean
|
757
|
-
default: "`false`"
|
758
|
-
description: Whether or not the expander is inline.
|
759
|
-
- name: button_arguments
|
760
|
-
type: Hash
|
761
|
-
default: "`{}`"
|
762
|
-
description: "[System arguments](/system-arguments) for the button element."
|
763
|
-
- name: system_arguments
|
764
|
-
type: Hash
|
765
|
-
default: N/A
|
766
|
-
description: "[System arguments](/system-arguments)"
|
767
767
|
- component: IconButton
|
768
768
|
source: https://github.com/primer/view_components/tree/main/app/components/primer/icon_button.rb
|
769
769
|
parameters:
|
data/static/audited_at.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
"Primer::Alpha::AutoComplete": "",
|
3
3
|
"Primer::Alpha::AutoComplete::Item": "",
|
4
4
|
"Primer::Alpha::ButtonMarketing": "",
|
5
|
+
"Primer::Alpha::HiddenTextExpander": "",
|
5
6
|
"Primer::Alpha::Layout": "",
|
6
7
|
"Primer::Alpha::Layout::Main": "",
|
7
8
|
"Primer::Alpha::Layout::Sidebar": "",
|
@@ -23,7 +24,11 @@
|
|
23
24
|
"Primer::Beta::Breadcrumbs": "",
|
24
25
|
"Primer::Beta::Breadcrumbs::Item": "",
|
25
26
|
"Primer::Beta::ButtonGroup": "",
|
27
|
+
"Primer::Beta::CloseButton": "",
|
28
|
+
"Primer::Beta::Counter": "",
|
29
|
+
"Primer::Beta::Details": "",
|
26
30
|
"Primer::Beta::Flash": "",
|
31
|
+
"Primer::Beta::Heading": "",
|
27
32
|
"Primer::Beta::Text": "",
|
28
33
|
"Primer::Beta::Truncate": "",
|
29
34
|
"Primer::Beta::Truncate::TruncateText": "",
|
data/static/constants.json
CHANGED
@@ -38,6 +38,8 @@
|
|
38
38
|
"large"
|
39
39
|
]
|
40
40
|
},
|
41
|
+
"Primer::Alpha::HiddenTextExpander": {
|
42
|
+
},
|
41
43
|
"Primer::Alpha::Layout": {
|
42
44
|
"FIRST_IN_SOURCE_DEFAULT": "sidebar",
|
43
45
|
"FIRST_IN_SOURCE_OPTIONS": [
|
@@ -300,6 +302,47 @@
|
|
300
302
|
},
|
301
303
|
"Primer::Beta::ButtonGroup": {
|
302
304
|
},
|
305
|
+
"Primer::Beta::CloseButton": {
|
306
|
+
"DEFAULT_TYPE": "button",
|
307
|
+
"TYPE_OPTIONS": [
|
308
|
+
"button",
|
309
|
+
"submit"
|
310
|
+
]
|
311
|
+
},
|
312
|
+
"Primer::Beta::Counter": {
|
313
|
+
"DEFAULT_SCHEME": "default",
|
314
|
+
"DEPRECATED_SCHEME_OPTIONS": [
|
315
|
+
"gray",
|
316
|
+
"light_gray"
|
317
|
+
],
|
318
|
+
"SCHEME_MAPPINGS": {
|
319
|
+
"default": "",
|
320
|
+
"primary": "Counter--primary",
|
321
|
+
"secondary": "Counter--secondary",
|
322
|
+
"gray": "Counter--primary",
|
323
|
+
"light_gray": "Counter--secondary"
|
324
|
+
},
|
325
|
+
"SCHEME_OPTIONS": [
|
326
|
+
"default",
|
327
|
+
"primary",
|
328
|
+
"secondary"
|
329
|
+
]
|
330
|
+
},
|
331
|
+
"Primer::Beta::Details": {
|
332
|
+
"BODY_TAG_DEFAULT": "div",
|
333
|
+
"BODY_TAG_OPTIONS": [
|
334
|
+
"ul",
|
335
|
+
"details-menu",
|
336
|
+
"details-dialog",
|
337
|
+
"div"
|
338
|
+
],
|
339
|
+
"NO_OVERLAY": "none",
|
340
|
+
"OVERLAY_MAPPINGS": {
|
341
|
+
"none": "",
|
342
|
+
"default": "details-overlay",
|
343
|
+
"dark": "details-overlay details-overlay-dark"
|
344
|
+
}
|
345
|
+
},
|
303
346
|
"Primer::Beta::Flash": {
|
304
347
|
"DEFAULT_SCHEME": "default",
|
305
348
|
"SCHEME_MAPPINGS": {
|
@@ -309,6 +352,17 @@
|
|
309
352
|
"success": "flash-success"
|
310
353
|
}
|
311
354
|
},
|
355
|
+
"Primer::Beta::Heading": {
|
356
|
+
"TAG_FALLBACK": "h2",
|
357
|
+
"TAG_OPTIONS": [
|
358
|
+
"h1",
|
359
|
+
"h2",
|
360
|
+
"h3",
|
361
|
+
"h4",
|
362
|
+
"h5",
|
363
|
+
"h6"
|
364
|
+
]
|
365
|
+
},
|
312
366
|
"Primer::Beta::Text": {
|
313
367
|
"DEFAULT_TAG": "span"
|
314
368
|
},
|
@@ -359,49 +413,14 @@
|
|
359
413
|
"Primer::ClipboardCopy": {
|
360
414
|
},
|
361
415
|
"Primer::CloseButton": {
|
362
|
-
"DEFAULT_TYPE": "button",
|
363
|
-
"TYPE_OPTIONS": [
|
364
|
-
"button",
|
365
|
-
"submit"
|
366
|
-
]
|
367
416
|
},
|
368
417
|
"Primer::ConditionalWrapper": {
|
369
418
|
},
|
370
419
|
"Primer::Content": {
|
371
420
|
},
|
372
421
|
"Primer::CounterComponent": {
|
373
|
-
"DEFAULT_SCHEME": "default",
|
374
|
-
"DEPRECATED_SCHEME_OPTIONS": [
|
375
|
-
"gray",
|
376
|
-
"light_gray"
|
377
|
-
],
|
378
|
-
"SCHEME_MAPPINGS": {
|
379
|
-
"default": "",
|
380
|
-
"primary": "Counter--primary",
|
381
|
-
"secondary": "Counter--secondary",
|
382
|
-
"gray": "Counter--primary",
|
383
|
-
"light_gray": "Counter--secondary"
|
384
|
-
},
|
385
|
-
"SCHEME_OPTIONS": [
|
386
|
-
"default",
|
387
|
-
"primary",
|
388
|
-
"secondary"
|
389
|
-
]
|
390
422
|
},
|
391
423
|
"Primer::DetailsComponent": {
|
392
|
-
"BODY_TAG_DEFAULT": "div",
|
393
|
-
"BODY_TAG_OPTIONS": [
|
394
|
-
"ul",
|
395
|
-
"details-menu",
|
396
|
-
"details-dialog",
|
397
|
-
"div"
|
398
|
-
],
|
399
|
-
"NO_OVERLAY": "none",
|
400
|
-
"OVERLAY_MAPPINGS": {
|
401
|
-
"none": "",
|
402
|
-
"default": "details-overlay",
|
403
|
-
"dark": "details-overlay details-overlay-dark"
|
404
|
-
}
|
405
424
|
},
|
406
425
|
"Primer::Dropdown": {
|
407
426
|
"Menu": "Primer::Dropdown::Menu"
|
@@ -517,15 +536,6 @@
|
|
517
536
|
"FLEX_AUTO_DEFAULT": false
|
518
537
|
},
|
519
538
|
"Primer::HeadingComponent": {
|
520
|
-
"TAG_FALLBACK": "h2",
|
521
|
-
"TAG_OPTIONS": [
|
522
|
-
"h1",
|
523
|
-
"h2",
|
524
|
-
"h3",
|
525
|
-
"h4",
|
526
|
-
"h5",
|
527
|
-
"h6"
|
528
|
-
]
|
529
539
|
},
|
530
540
|
"Primer::HellipButton": {
|
531
541
|
},
|
data/static/statuses.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
"Primer::Alpha::AutoComplete": "deprecated",
|
3
3
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
4
4
|
"Primer::Alpha::ButtonMarketing": "alpha",
|
5
|
+
"Primer::Alpha::HiddenTextExpander": "alpha",
|
5
6
|
"Primer::Alpha::Layout": "alpha",
|
6
7
|
"Primer::Alpha::Layout::Main": "alpha",
|
7
8
|
"Primer::Alpha::Layout::Sidebar": "alpha",
|
@@ -19,11 +20,15 @@
|
|
19
20
|
"Primer::Beta::BaseButton": "beta",
|
20
21
|
"Primer::Beta::Blankslate": "beta",
|
21
22
|
"Primer::Beta::BorderBox": "beta",
|
22
|
-
"Primer::Beta::BorderBox::Header": "
|
23
|
+
"Primer::Beta::BorderBox::Header": "beta",
|
23
24
|
"Primer::Beta::Breadcrumbs": "beta",
|
24
25
|
"Primer::Beta::Breadcrumbs::Item": "alpha",
|
25
26
|
"Primer::Beta::ButtonGroup": "beta",
|
27
|
+
"Primer::Beta::CloseButton": "beta",
|
28
|
+
"Primer::Beta::Counter": "beta",
|
29
|
+
"Primer::Beta::Details": "beta",
|
26
30
|
"Primer::Beta::Flash": "beta",
|
31
|
+
"Primer::Beta::Heading": "beta",
|
27
32
|
"Primer::Beta::Text": "beta",
|
28
33
|
"Primer::Beta::Truncate": "beta",
|
29
34
|
"Primer::Beta::Truncate::TruncateText": "alpha",
|
@@ -34,20 +39,20 @@
|
|
34
39
|
"Primer::ButtonComponent": "beta",
|
35
40
|
"Primer::ButtonGroup": "deprecated",
|
36
41
|
"Primer::ClipboardCopy": "beta",
|
37
|
-
"Primer::CloseButton": "
|
42
|
+
"Primer::CloseButton": "deprecated",
|
38
43
|
"Primer::ConditionalWrapper": "alpha",
|
39
44
|
"Primer::Content": "stable",
|
40
|
-
"Primer::CounterComponent": "
|
41
|
-
"Primer::DetailsComponent": "
|
45
|
+
"Primer::CounterComponent": "deprecated",
|
46
|
+
"Primer::DetailsComponent": "deprecated",
|
42
47
|
"Primer::Dropdown": "alpha",
|
43
48
|
"Primer::Dropdown::Menu": "alpha",
|
44
49
|
"Primer::Dropdown::Menu::Item": "alpha",
|
45
50
|
"Primer::DropdownMenuComponent": "deprecated",
|
46
51
|
"Primer::FlexComponent": "deprecated",
|
47
52
|
"Primer::FlexItemComponent": "deprecated",
|
48
|
-
"Primer::HeadingComponent": "
|
53
|
+
"Primer::HeadingComponent": "deprecated",
|
49
54
|
"Primer::HellipButton": "alpha",
|
50
|
-
"Primer::HiddenTextExpander": "
|
55
|
+
"Primer::HiddenTextExpander": "deprecated",
|
51
56
|
"Primer::IconButton": "beta",
|
52
57
|
"Primer::Image": "alpha",
|
53
58
|
"Primer::ImageCrop": "alpha",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.91
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -406,10 +406,13 @@ files:
|
|
406
406
|
- README.md
|
407
407
|
- app/assets/javascripts/primer_view_components.js
|
408
408
|
- app/assets/javascripts/primer_view_components.js.map
|
409
|
+
- app/assets/styles/primer_view_components.css
|
410
|
+
- app/assets/styles/primer_view_components.css.map
|
409
411
|
- app/components/primer/alpha/auto_complete.rb
|
410
412
|
- app/components/primer/alpha/auto_complete/auto_complete.html.erb
|
411
413
|
- app/components/primer/alpha/auto_complete/item.rb
|
412
414
|
- app/components/primer/alpha/button_marketing.rb
|
415
|
+
- app/components/primer/alpha/hidden_text_expander.rb
|
413
416
|
- app/components/primer/alpha/layout.html.erb
|
414
417
|
- app/components/primer/alpha/layout.rb
|
415
418
|
- app/components/primer/alpha/segmented-control-element.d.ts
|
@@ -449,8 +452,13 @@ files:
|
|
449
452
|
- app/components/primer/beta/breadcrumbs.rb
|
450
453
|
- app/components/primer/beta/button_group.html.erb
|
451
454
|
- app/components/primer/beta/button_group.rb
|
455
|
+
- app/components/primer/beta/close_button.rb
|
456
|
+
- app/components/primer/beta/counter.rb
|
457
|
+
- app/components/primer/beta/details.html.erb
|
458
|
+
- app/components/primer/beta/details.rb
|
452
459
|
- app/components/primer/beta/flash.html.erb
|
453
460
|
- app/components/primer/beta/flash.rb
|
461
|
+
- app/components/primer/beta/heading.rb
|
454
462
|
- app/components/primer/beta/text.rb
|
455
463
|
- app/components/primer/beta/truncate.html.erb
|
456
464
|
- app/components/primer/beta/truncate.rb
|
@@ -472,7 +480,6 @@ files:
|
|
472
480
|
- app/components/primer/conditional_wrapper.rb
|
473
481
|
- app/components/primer/content.rb
|
474
482
|
- app/components/primer/counter_component.rb
|
475
|
-
- app/components/primer/details_component.html.erb
|
476
483
|
- app/components/primer/details_component.rb
|
477
484
|
- app/components/primer/dropdown.d.ts
|
478
485
|
- app/components/primer/dropdown.html.erb
|
@@ -520,6 +527,7 @@ files:
|
|
520
527
|
- app/components/primer/popover_component.rb
|
521
528
|
- app/components/primer/primer.d.ts
|
522
529
|
- app/components/primer/primer.js
|
530
|
+
- app/components/primer/primer.pcss
|
523
531
|
- app/components/primer/primer.ts
|
524
532
|
- app/components/primer/progress_bar_component.html.erb
|
525
533
|
- app/components/primer/progress_bar_component.rb
|