@primer/view-components 0.25.1 → 0.25.2-rc.33a9b6fe
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.25.
|
3
|
+
"version": "0.25.2-rc.33a9b6fe",
|
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.
|
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",
|
package/static/info_arch.json
CHANGED
@@ -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": [
|
package/static/previews.json
CHANGED
@@ -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
|
},
|