@primer/view-components 0.4.0-rc.8dc8906c → 0.4.0-rc.951431f2

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.
@@ -1 +1 @@
1
- .Link{color:var(--color-accent-fg)}.Link:hover{cursor:pointer;text-decoration:underline}.Link:focus,.Link:focus-visible{outline-offset:0}.Link--primary{color:var(--color-fg-default)!important}.Link--primary:hover{color:var(--color-accent-fg)!important}.Link--secondary{color:var(--color-fg-muted)!important}.Link--secondary:hover{color:var(--color-accent-fg)!important}.Link--muted{color:var(--color-fg-muted)!important}.Link--muted:hover{text-decoration:none}.Link--muted:hover,.Link--onHover:hover{color:var(--color-accent-fg)!important}.Link--onHover:hover{cursor:pointer;text-decoration:underline}.Link--muted:hover [class*=color-fg],.Link--primary:hover [class*=color-fg],.Link--secondary:hover [class*=color-fg]{color:inherit!important}
1
+ .Link{color:var(--color-accent-fg)}.Link:hover{cursor:pointer}.Link:focus,.Link:hover{text-decoration:underline}.Link:focus,.Link:focus-visible{outline-offset:0}.Link--primary{color:var(--color-fg-default)!important}.Link--primary:hover{color:var(--color-accent-fg)!important}.Link--secondary{color:var(--color-fg-muted)!important}.Link--secondary:hover{color:var(--color-accent-fg)!important}.Link--muted{color:var(--color-fg-muted)!important}.Link--muted:hover{text-decoration:none}.Link--muted:hover,.Link--onHover:hover{color:var(--color-accent-fg)!important}.Link--onHover:hover{cursor:pointer;text-decoration:underline}.Link--muted:hover [class*=color-fg],.Link--primary:hover [class*=color-fg],.Link--secondary:hover [class*=color-fg]{color:inherit!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.4.0-rc.8dc8906c",
3
+ "version": "0.4.0-rc.951431f2",
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",
@@ -86,7 +86,7 @@
86
86
  "postcss-mixins": "^9.0.3",
87
87
  "postcss-preset-env": "^7.8.0",
88
88
  "prettier": "2.7.1",
89
- "primer-changesets-cli": "2.1.0",
89
+ "primer-changesets-cli": "2.2.0",
90
90
  "rollup": "^2.77.1",
91
91
  "rollup-plugin-terser": "^7.0.2",
92
92
  "stylelint": "^14.13.0",
@@ -3632,17 +3632,11 @@
3632
3632
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/link.rb",
3633
3633
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/link/default/",
3634
3634
  "parameters": [
3635
- {
3636
- "name": "tag",
3637
- "type": "String",
3638
- "default": "`:a`",
3639
- "description": "One of `:a` or `:span`."
3640
- },
3641
3635
  {
3642
3636
  "name": "href",
3643
3637
  "type": "String",
3644
3638
  "default": "`nil`",
3645
- "description": "URL to be used for the Link. Required if tag is `:a`. If the requirements are not met an error will be raised in non production environments. In production, an empty link element will be rendered."
3639
+ "description": "URL to be used for the Link. Required. If the requirements are not met an error will be raised in non production environments. In production, an empty link element will be rendered."
3646
3640
  },
3647
3641
  {
3648
3642
  "name": "scheme",
@@ -948,16 +948,11 @@
948
948
  },
949
949
  "Primer::Beta::Link": {
950
950
  "DEFAULT_SCHEME": "default",
951
- "DEFAULT_TAG": "a",
952
951
  "SCHEME_MAPPINGS": {
953
952
  "default": "",
954
953
  "primary": "Link--primary",
955
954
  "secondary": "Link--secondary"
956
- },
957
- "TAG_OPTIONS": [
958
- "a",
959
- "span"
960
- ]
955
+ }
961
956
  },
962
957
  "Primer::Beta::Markdown": {
963
958
  "DEFAULT_TAG": "div",
@@ -1169,7 +1169,7 @@
1169
1169
  {
1170
1170
  "preview_path": "primer/alpha/action_menu/default",
1171
1171
  "name": "default",
1172
- "snapshot": "false",
1172
+ "snapshot": "interactive",
1173
1173
  "skip_rules": {
1174
1174
  "wont_fix": [
1175
1175
  "region"
@@ -1182,7 +1182,7 @@
1182
1182
  {
1183
1183
  "preview_path": "primer/alpha/action_menu/wide",
1184
1184
  "name": "wide",
1185
- "snapshot": "false",
1185
+ "snapshot": "interactive",
1186
1186
  "skip_rules": {
1187
1187
  "wont_fix": [
1188
1188
  "region"
@@ -1247,7 +1247,7 @@
1247
1247
  {
1248
1248
  "preview_path": "primer/alpha/action_menu/single_selected_item",
1249
1249
  "name": "single_selected_item",
1250
- "snapshot": "false",
1250
+ "snapshot": "interactive",
1251
1251
  "skip_rules": {
1252
1252
  "wont_fix": [
1253
1253
  "region"
@@ -1260,7 +1260,7 @@
1260
1260
  {
1261
1261
  "preview_path": "primer/alpha/action_menu/single_select_with_internal_label",
1262
1262
  "name": "single_select_with_internal_label",
1263
- "snapshot": "false",
1263
+ "snapshot": "interactive",
1264
1264
  "skip_rules": {
1265
1265
  "wont_fix": [
1266
1266
  "region"
@@ -1273,7 +1273,7 @@
1273
1273
  {
1274
1274
  "preview_path": "primer/alpha/action_menu/multiple_selected_items",
1275
1275
  "name": "multiple_selected_items",
1276
- "snapshot": "false",
1276
+ "snapshot": "interactive",
1277
1277
  "skip_rules": {
1278
1278
  "wont_fix": [
1279
1279
  "region"
@@ -2723,7 +2723,7 @@
2723
2723
  {
2724
2724
  "preview_path": "primer/alpha/dialog/default",
2725
2725
  "name": "default",
2726
- "snapshot": "false",
2726
+ "snapshot": "interactive",
2727
2727
  "skip_rules": {
2728
2728
  "wont_fix": [
2729
2729
  "region"
@@ -3054,7 +3054,7 @@
3054
3054
  {
3055
3055
  "preview_path": "primer/alpha/dropdown/default",
3056
3056
  "name": "default",
3057
- "snapshot": "false",
3057
+ "snapshot": "interactive",
3058
3058
  "skip_rules": {
3059
3059
  "wont_fix": [
3060
3060
  "region"
@@ -11681,17 +11681,11 @@
11681
11681
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/link.rb",
11682
11682
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/link/default/",
11683
11683
  "parameters": [
11684
- {
11685
- "name": "tag",
11686
- "type": "String",
11687
- "default": "`:a`",
11688
- "description": "One of `:a` or `:span`."
11689
- },
11690
11684
  {
11691
11685
  "name": "href",
11692
11686
  "type": "String",
11693
11687
  "default": "`nil`",
11694
- "description": "URL to be used for the Link. Required if tag is `:a`. If the requirements are not met an error will be raised in non production environments. In production, an empty link element will be rendered."
11688
+ "description": "URL to be used for the Link. Required. If the requirements are not met an error will be raised in non production environments. In production, an empty link element will be rendered."
11695
11689
  },
11696
11690
  {
11697
11691
  "name": "scheme",
@@ -401,7 +401,7 @@
401
401
  {
402
402
  "preview_path": "primer/alpha/action_menu/default",
403
403
  "name": "default",
404
- "snapshot": "false",
404
+ "snapshot": "interactive",
405
405
  "skip_rules": {
406
406
  "wont_fix": [
407
407
  "region"
@@ -414,7 +414,7 @@
414
414
  {
415
415
  "preview_path": "primer/alpha/action_menu/wide",
416
416
  "name": "wide",
417
- "snapshot": "false",
417
+ "snapshot": "interactive",
418
418
  "skip_rules": {
419
419
  "wont_fix": [
420
420
  "region"
@@ -479,7 +479,7 @@
479
479
  {
480
480
  "preview_path": "primer/alpha/action_menu/single_selected_item",
481
481
  "name": "single_selected_item",
482
- "snapshot": "false",
482
+ "snapshot": "interactive",
483
483
  "skip_rules": {
484
484
  "wont_fix": [
485
485
  "region"
@@ -492,7 +492,7 @@
492
492
  {
493
493
  "preview_path": "primer/alpha/action_menu/single_select_with_internal_label",
494
494
  "name": "single_select_with_internal_label",
495
- "snapshot": "false",
495
+ "snapshot": "interactive",
496
496
  "skip_rules": {
497
497
  "wont_fix": [
498
498
  "region"
@@ -505,7 +505,7 @@
505
505
  {
506
506
  "preview_path": "primer/alpha/action_menu/multiple_selected_items",
507
507
  "name": "multiple_selected_items",
508
- "snapshot": "false",
508
+ "snapshot": "interactive",
509
509
  "skip_rules": {
510
510
  "wont_fix": [
511
511
  "region"
@@ -2771,7 +2771,7 @@
2771
2771
  {
2772
2772
  "preview_path": "primer/alpha/dialog/default",
2773
2773
  "name": "default",
2774
- "snapshot": "false",
2774
+ "snapshot": "interactive",
2775
2775
  "skip_rules": {
2776
2776
  "wont_fix": [
2777
2777
  "region"
@@ -2896,7 +2896,7 @@
2896
2896
  {
2897
2897
  "preview_path": "primer/alpha/dropdown/default",
2898
2898
  "name": "default",
2899
- "snapshot": "false",
2899
+ "snapshot": "interactive",
2900
2900
  "skip_rules": {
2901
2901
  "wont_fix": [
2902
2902
  "region"