@primer/view-components 0.25.1-rc.ef1f91dc → 0.25.2-rc.33a9b6fe

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- .breadcrumb-item{display:inline-block;list-style:none;margin-left:-.35em;white-space:nowrap}.breadcrumb-item:after{border-right:.1em solid var(--borderColor-neutral-emphasis);content:"";display:inline-block;height:.8em;margin:0 .5em;transform:rotate(15deg) translateY(.0625em)}.breadcrumb-item:first-child{margin-left:0}.breadcrumb-item-selected:after,.breadcrumb-item[aria-current]:not([aria-current=false]):after{content:none}.breadcrumb-item-selected a{color:var(--fgColor-default);cursor:default!important;-webkit-text-decoration:none!important;text-decoration:none!important}
1
+ .breadcrumb-item{display:inline-block;list-style:none;margin-left:-.35em}.breadcrumb-item:after{border-right:.1em solid var(--borderColor-neutral-emphasis);content:"";display:inline-block;height:.8em;margin:0 .5em;transform:rotate(15deg) translateY(.0625em)}.breadcrumb-item:first-child{margin-left:0}.breadcrumb-item-selected:after,.breadcrumb-item[aria-current]:not([aria-current=false]):after{content:none}.breadcrumb-item-selected a{color:var(--fgColor-default);cursor:default!important;-webkit-text-decoration:none!important;text-decoration:none!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.25.1-rc.ef1f91dc",
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.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",
@@ -10921,6 +10921,32 @@
10921
10921
  "color-contrast"
10922
10922
  ]
10923
10923
  }
10924
+ },
10925
+ {
10926
+ "preview_path": "primer/beta/breadcrumbs/with_beta_truncate",
10927
+ "name": "with_beta_truncate",
10928
+ "snapshot": "true",
10929
+ "skip_rules": {
10930
+ "wont_fix": [
10931
+ "region"
10932
+ ],
10933
+ "will_fix": [
10934
+ "color-contrast"
10935
+ ]
10936
+ }
10937
+ },
10938
+ {
10939
+ "preview_path": "primer/beta/breadcrumbs/with_deprecated_truncate",
10940
+ "name": "with_deprecated_truncate",
10941
+ "snapshot": "true",
10942
+ "skip_rules": {
10943
+ "wont_fix": [
10944
+ "region"
10945
+ ],
10946
+ "will_fix": [
10947
+ "color-contrast"
10948
+ ]
10949
+ }
10924
10950
  }
10925
10951
  ],
10926
10952
  "subcomponents": [
@@ -12614,7 +12640,7 @@
12614
12640
  {
12615
12641
  "fully_qualified_name": "Primer::Beta::IconButton",
12616
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`.",
12617
- "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",
12618
12644
  "is_form_component": false,
12619
12645
  "is_published": true,
12620
12646
  "requires_js": false,
@@ -12763,6 +12789,32 @@
12763
12789
  "color-contrast"
12764
12790
  ]
12765
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
+ }
12766
12818
  }
12767
12819
  ],
12768
12820
  "subcomponents": [
@@ -2011,6 +2011,32 @@
2011
2011
  "color-contrast"
2012
2012
  ]
2013
2013
  }
2014
+ },
2015
+ {
2016
+ "preview_path": "primer/beta/breadcrumbs/with_beta_truncate",
2017
+ "name": "with_beta_truncate",
2018
+ "snapshot": "true",
2019
+ "skip_rules": {
2020
+ "wont_fix": [
2021
+ "region"
2022
+ ],
2023
+ "will_fix": [
2024
+ "color-contrast"
2025
+ ]
2026
+ }
2027
+ },
2028
+ {
2029
+ "preview_path": "primer/beta/breadcrumbs/with_deprecated_truncate",
2030
+ "name": "with_deprecated_truncate",
2031
+ "snapshot": "true",
2032
+ "skip_rules": {
2033
+ "wont_fix": [
2034
+ "region"
2035
+ ],
2036
+ "will_fix": [
2037
+ "color-contrast"
2038
+ ]
2039
+ }
2014
2040
  }
2015
2041
  ]
2016
2042
  },
@@ -3897,6 +3923,32 @@
3897
3923
  "color-contrast"
3898
3924
  ]
3899
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
+ }
3900
3952
  }
3901
3953
  ]
3902
3954
  },