@primer/view-components 0.25.1 → 0.25.2-rc.680ee4b5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.25.1",
3
+ "version": "0.25.2-rc.680ee4b5",
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",
@@ -84,7 +84,7 @@
84
84
  "postcss-import": "^16.0.0",
85
85
  "postcss-mixins": "^10.0.0",
86
86
  "postcss-preset-env": "^9.3.0",
87
- "prettier": "3.2.5",
87
+ "prettier": "3.3.0",
88
88
  "rollup": "^2.79.1",
89
89
  "rollup-plugin-terser": "^7.0.2",
90
90
  "stylelint": "^16.1.0",
@@ -4254,6 +4254,12 @@
4254
4254
  "default": "`nil`",
4255
4255
  "description": "Provide a custom title to the element."
4256
4256
  },
4257
+ {
4258
+ "name": "no_title",
4259
+ "type": "Boolean",
4260
+ "default": "`false`",
4261
+ "description": "Removes the `title` attribute provided on the element by default."
4262
+ },
4257
4263
  {
4258
4264
  "name": "system_arguments",
4259
4265
  "type": "Hash",
@@ -12640,7 +12640,7 @@
12640
12640
  {
12641
12641
  "fully_qualified_name": "Primer::Beta::IconButton",
12642
12642
  "description": "Use `IconButton` to render Icon-only buttons without the default button styles.\n\n`IconButton` will always render with a tooltip unless the tag is `:summary`.",
12643
- "accessibility_docs": "`IconButton` requires an `aria-label`, which will provide assistive technologies with an accessible label.\nThe `aria-label` should describe the action to be invoked rather than the icon itself. For instance,\nif your `IconButton` renders a magnifying glass icon and invokes a search action, the `aria-label` should be\n`\"Search\"` instead of `\"Magnifying glass\"`.\nEither `aria-label` or `aria-description` will be used for the `Tooltip` text, depending on which one is present.\nEither `aria-label` or `aria-description` will be used for the `Tooltip` text, depending on which one is present.\n[Learn more about best functional image practices (WAI Images)](https://www.w3.org/WAI/tutorials/images/functional)",
12643
+ "accessibility_docs": "`IconButton` requires an `aria-label`, which will provide assistive technologies with an accessible label.\nThe `aria-label` should describe the action to be invoked rather than the icon itself. For instance,\nif your `IconButton` renders a magnifying glass icon and invokes a search action, the `aria-label` should be\n`\"Search\"` instead of `\"Magnifying glass\"`.\nEither `aria-label` or `aria-description` will be used for the `Tooltip` text, depending on which one is present.\nEither `aria-label` or `aria-description` will be used for the `Tooltip` text, depending on which one is present.\n[Learn more about best functional image practices (WAI Images)](https://www.w3.org/WAI/tutorials/images/functional)\n\nAdditional markup is required if setting the `tag` argument to either `:a` or `:summary`.\n\n* `:a` requires you to pass in an `href` attribute\n* `:summary` requires you to wrap the component in a `<details>` element",
12644
12644
  "is_form_component": false,
12645
12645
  "is_published": true,
12646
12646
  "requires_js": false,
@@ -12789,6 +12789,32 @@
12789
12789
  "color-contrast"
12790
12790
  ]
12791
12791
  }
12792
+ },
12793
+ {
12794
+ "preview_path": "primer/beta/icon_button/link_as_button",
12795
+ "name": "link_as_button",
12796
+ "snapshot": "true",
12797
+ "skip_rules": {
12798
+ "wont_fix": [
12799
+ "region"
12800
+ ],
12801
+ "will_fix": [
12802
+ "color-contrast"
12803
+ ]
12804
+ }
12805
+ },
12806
+ {
12807
+ "preview_path": "primer/beta/icon_button/summary_as_button",
12808
+ "name": "summary_as_button",
12809
+ "snapshot": "true",
12810
+ "skip_rules": {
12811
+ "wont_fix": [
12812
+ "region"
12813
+ ],
12814
+ "will_fix": [
12815
+ "color-contrast"
12816
+ ]
12817
+ }
12792
12818
  }
12793
12819
  ],
12794
12820
  "subcomponents": [
@@ -14496,6 +14522,12 @@
14496
14522
  "default": "`nil`",
14497
14523
  "description": "Provide a custom title to the element."
14498
14524
  },
14525
+ {
14526
+ "name": "no_title",
14527
+ "type": "Boolean",
14528
+ "default": "`false`",
14529
+ "description": "Removes the `title` attribute provided on the element by default."
14530
+ },
14499
14531
  {
14500
14532
  "name": "system_arguments",
14501
14533
  "type": "Hash",
@@ -14574,6 +14606,32 @@
14574
14606
  "color-contrast"
14575
14607
  ]
14576
14608
  }
14609
+ },
14610
+ {
14611
+ "preview_path": "primer/beta/relative_time/no_title_attribute",
14612
+ "name": "no_title_attribute",
14613
+ "snapshot": "true",
14614
+ "skip_rules": {
14615
+ "wont_fix": [
14616
+ "region"
14617
+ ],
14618
+ "will_fix": [
14619
+ "color-contrast"
14620
+ ]
14621
+ }
14622
+ },
14623
+ {
14624
+ "preview_path": "primer/beta/relative_time/link_with_tooltip",
14625
+ "name": "link_with_tooltip",
14626
+ "snapshot": "true",
14627
+ "skip_rules": {
14628
+ "wont_fix": [
14629
+ "region"
14630
+ ],
14631
+ "will_fix": [
14632
+ "color-contrast"
14633
+ ]
14634
+ }
14577
14635
  }
14578
14636
  ],
14579
14637
  "subcomponents": [
@@ -3923,6 +3923,32 @@
3923
3923
  "color-contrast"
3924
3924
  ]
3925
3925
  }
3926
+ },
3927
+ {
3928
+ "preview_path": "primer/beta/icon_button/link_as_button",
3929
+ "name": "link_as_button",
3930
+ "snapshot": "true",
3931
+ "skip_rules": {
3932
+ "wont_fix": [
3933
+ "region"
3934
+ ],
3935
+ "will_fix": [
3936
+ "color-contrast"
3937
+ ]
3938
+ }
3939
+ },
3940
+ {
3941
+ "preview_path": "primer/beta/icon_button/summary_as_button",
3942
+ "name": "summary_as_button",
3943
+ "snapshot": "true",
3944
+ "skip_rules": {
3945
+ "wont_fix": [
3946
+ "region"
3947
+ ],
3948
+ "will_fix": [
3949
+ "color-contrast"
3950
+ ]
3951
+ }
3926
3952
  }
3927
3953
  ]
3928
3954
  },
@@ -5460,6 +5486,32 @@
5460
5486
  "color-contrast"
5461
5487
  ]
5462
5488
  }
5489
+ },
5490
+ {
5491
+ "preview_path": "primer/beta/relative_time/no_title_attribute",
5492
+ "name": "no_title_attribute",
5493
+ "snapshot": "true",
5494
+ "skip_rules": {
5495
+ "wont_fix": [
5496
+ "region"
5497
+ ],
5498
+ "will_fix": [
5499
+ "color-contrast"
5500
+ ]
5501
+ }
5502
+ },
5503
+ {
5504
+ "preview_path": "primer/beta/relative_time/link_with_tooltip",
5505
+ "name": "link_with_tooltip",
5506
+ "snapshot": "true",
5507
+ "skip_rules": {
5508
+ "wont_fix": [
5509
+ "region"
5510
+ ],
5511
+ "will_fix": [
5512
+ "color-contrast"
5513
+ ]
5514
+ }
5463
5515
  }
5464
5516
  ]
5465
5517
  },