@primer/view-components 0.14.0-rc.9e68f58a → 0.14.0-rc.d99ffcc4
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/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/beta/blankslate.css +1 -1
- package/app/components/primer/beta/blankslate.css.json +1 -0
- package/app/components/primer/beta/subhead.css +1 -1
- package/app/components/primer/beta/subhead.css.json +2 -0
- package/package.json +3 -3
- package/static/classes.json +6 -0
- package/static/constants.json +9 -0
- package/static/info_arch.json +31 -5
- package/static/previews.json +26 -0
@@ -1 +1 @@
|
|
1
|
-
.blankslate{padding:var(--base-size-32,2rem);position:relative;text-align:center}.blankslate p{color:var(--fgColor-muted,var(--color-fg-muted))}.blankslate code{background:var(--bgColor-default,var(--color-canvas-default));border:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));border-radius:var(--borderRadius-medium,.375rem);font-size:var(--text-body-size-medium,.875rem);padding:2px 5px 3px}.blankslate img{height:56px;width:56px}.blankslate-icon{color:var(--fgColor-muted,var(--color-fg-muted));margin-bottom:var(--stack-gap-condensed,.5rem);margin-left:var(--control-small-gap,.25rem);margin-right:var(--control-small-gap,.25rem)}.blankslate-image{margin-bottom:var(--stack-gap-normal,1rem)}.blankslate-heading{margin-bottom:var(--base-size-4,.25rem)}.blankslate-action{margin-top:var(--stack-gap-normal,1rem)}.blankslate-action:first-of-type{margin-top:var(--stack-gap-spacious,1.5rem)}.blankslate-action:last-of-type{margin-bottom:var(--stack-gap-condensed,.5rem)}.blankslate-capped{border-radius:0 0 var(--borderRadius-medium,.375rem) var(--borderRadius-medium,.375rem)}.blankslate-spacious{padding:var(--base-size-80,5rem)
|
1
|
+
.blankslate-container{container-type:inline-size}.blankslate{--blankslate-outer-padding-block:var(--base-size-32,2rem);--blankslate-outer-padding-inline:var(--base-size-32,2rem);padding:var(--blankslate-outer-padding-block) var(--blankslate-outer-padding-inline);position:relative;text-align:center}.blankslate p{color:var(--fgColor-muted,var(--color-fg-muted));font-size:var(--text-body-size-large,1rem)}.blankslate code{background:var(--bgColor-default,var(--color-canvas-default));border:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));border-radius:var(--borderRadius-medium,.375rem);font-size:var(--text-body-size-medium,.875rem);padding:2px 5px 3px}.blankslate img{height:56px;width:56px}.blankslate-icon{color:var(--fgColor-muted,var(--color-fg-muted));margin-bottom:var(--stack-gap-condensed,.5rem);margin-left:var(--control-small-gap,.25rem);margin-right:var(--control-small-gap,.25rem)}.blankslate-image{margin-bottom:var(--stack-gap-normal,1rem)}.blankslate-heading{font-size:var(--text-title-size-medium,1.25rem);font-weight:var(--text-title-weight-medium,600);margin-bottom:var(--base-size-4,.25rem)}.blankslate-action{margin-top:var(--stack-gap-normal,1rem)}.blankslate-action:first-of-type{margin-top:var(--stack-gap-spacious,1.5rem)}.blankslate-action:last-of-type{margin-bottom:var(--stack-gap-condensed,.5rem)}.blankslate-capped{border-radius:0 0 var(--borderRadius-medium,.375rem) var(--borderRadius-medium,.375rem)}.blankslate-spacious{--blankslate-outer-padding-block:var(--base-size-80,5rem);--blankslate-outer-padding-inline:var(--base-size-40,2.5rem)}.blankslate-narrow{margin:0 auto;max-width:485px}.blankslate-large img{height:80px;width:80px}.blankslate-large h3{font-size:24px;margin:var(--stack-gap-normal,1rem) 0}.blankslate-large p{font-size:var(--text-body-size-large,1rem)}.blankslate-clean-background{border:0}@container (max-width: 34rem){.blankslate{--blankslate-outer-padding-block:var(--base-size-20,1.25rem);--blankslate-outer-padding-inline:var(--base-size-20,1.25rem)}.blankslate-spacious{--blankslate-outer-padding-block:var(--base-size-44,2.75rem);--blankslate-outer-padding-inline:var(--base-size-28,1.75rem)}.blankslate-icon{margin-bottom:var(--stack-gap-condensed,.5rem)}.blankslate-heading{font-size:var(--text-title-size-small,1rem)}.blankslate p{font-size:var(--text-body-size-medium,.875rem)}.blankslate-action{margin-top:var(--stack-gap-condensed,.5rem)}.blankslate-action:first-of-type{margin-top:var(--stack-gap-normal,1rem)}.blankslate-action:last-of-type{margin-bottom:calc(var(--stack-gap-condensed,.5rem)/2)}}
|
@@ -1 +1 @@
|
|
1
|
-
.Subhead{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));display:flex;flex-flow:row wrap;justify-content:flex-end;margin-bottom:var(--stack-gap-normal,1rem);padding-bottom:var(--stack-padding-condensed,.5rem)}.Subhead--spacious{margin-top:var(--base-size-40,2.5rem)}.Subhead-heading{flex:1 1 auto;font-
|
1
|
+
.Subhead{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));display:flex;flex-flow:row wrap;justify-content:flex-end;margin-bottom:var(--stack-gap-normal,1rem);padding-bottom:var(--stack-padding-condensed,.5rem)}.Subhead--spacious{margin-top:var(--base-size-40,2.5rem)}.Subhead-heading{flex:1 1 auto;font-weight:var(--base-text-weight-normal,400);order:0}.Subhead-heading--large{font-size:var(--base-size-24,1.5rem)}.Subhead-heading--medium{font-size:var(--text-title-size-medium,1.25rem)}.Subhead-heading--danger{color:var(--fgColor-danger,var(--color-danger-fg));font-weight:var(--base-text-weight-semibold,600)}.Subhead-description{color:var(--fgColor-muted,var(--color-fg-muted));flex:1 100%;font-size:var(--text-body-size-medium,.875rem);order:2}.Subhead-actions{align-self:center;justify-content:flex-end;margin:var(--base-size-4,.25rem) 0 var(--base-size-4,.25rem) var(--base-size-4,.25rem);order:1}.Subhead-actions+.Subhead-description{margin-top:var(--base-size-4,.25rem)}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.14.0-rc.
|
3
|
+
"version": "0.14.0-rc.d99ffcc4",
|
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",
|
@@ -60,9 +60,9 @@
|
|
60
60
|
"@github/axe-github": "^0.5.0",
|
61
61
|
"@github/browserslist-config": "^1.0.0",
|
62
62
|
"@github/markdownlint-github": "^0.2.2",
|
63
|
-
"@github/prettier-config": "0.0.
|
63
|
+
"@github/prettier-config": "0.0.6",
|
64
64
|
"@playwright/test": "^1.35.1",
|
65
|
-
"@primer/css": "21.0.
|
65
|
+
"@primer/css": "21.0.9",
|
66
66
|
"@primer/primitives": "^7.14.0",
|
67
67
|
"@primer/stylelint-config": "^12.7.2",
|
68
68
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
package/static/classes.json
CHANGED
@@ -528,6 +528,12 @@
|
|
528
528
|
"Subhead-heading--danger": [
|
529
529
|
"Primer::Beta::Subhead"
|
530
530
|
],
|
531
|
+
"Subhead-heading--large": [
|
532
|
+
"Primer::Beta::Subhead"
|
533
|
+
],
|
534
|
+
"Subhead-heading--medium": [
|
535
|
+
"Primer::Beta::Subhead"
|
536
|
+
],
|
531
537
|
"TimelineItem": [
|
532
538
|
"Primer::Beta::TimelineItem"
|
533
539
|
],
|
package/static/constants.json
CHANGED
@@ -1243,7 +1243,16 @@
|
|
1243
1243
|
]
|
1244
1244
|
},
|
1245
1245
|
"Primer::Beta::Subhead": {
|
1246
|
+
"DEFAULT_HEADING_SIZE": "large",
|
1246
1247
|
"DEFAULT_HEADING_TAG": "div",
|
1248
|
+
"HEADING_SIZE_MAP": {
|
1249
|
+
"large": "Subhead-heading--large",
|
1250
|
+
"medium": "Subhead-heading--medium"
|
1251
|
+
},
|
1252
|
+
"HEADING_SIZE_OPTIONS": [
|
1253
|
+
"large",
|
1254
|
+
"medium"
|
1255
|
+
],
|
1247
1256
|
"HEADING_TAG_OPTIONS": [
|
1248
1257
|
"div",
|
1249
1258
|
"h1",
|
package/static/info_arch.json
CHANGED
@@ -4932,7 +4932,7 @@
|
|
4932
4932
|
},
|
4933
4933
|
{
|
4934
4934
|
"fully_qualified_name": "Primer::Alpha::NavList",
|
4935
|
-
"description": "",
|
4935
|
+
"description": ":nodoc:",
|
4936
4936
|
"accessibility_docs": null,
|
4937
4937
|
"is_form_component": false,
|
4938
4938
|
"is_published": true,
|
@@ -4982,7 +4982,7 @@
|
|
4982
4982
|
"subcomponents": [
|
4983
4983
|
{
|
4984
4984
|
"fully_qualified_name": "Primer::Alpha::NavList::Item",
|
4985
|
-
"description": "",
|
4985
|
+
"description": ":nodoc:",
|
4986
4986
|
"accessibility_docs": null,
|
4987
4987
|
"is_form_component": false,
|
4988
4988
|
"is_published": true,
|
@@ -5102,7 +5102,7 @@
|
|
5102
5102
|
},
|
5103
5103
|
{
|
5104
5104
|
"fully_qualified_name": "Primer::Alpha::NavList::Heading",
|
5105
|
-
"description": "",
|
5105
|
+
"description": ":nodoc:",
|
5106
5106
|
"accessibility_docs": null,
|
5107
5107
|
"is_form_component": false,
|
5108
5108
|
"is_published": true,
|
@@ -5154,7 +5154,7 @@
|
|
5154
5154
|
},
|
5155
5155
|
{
|
5156
5156
|
"fully_qualified_name": "Primer::Alpha::NavList::Divider",
|
5157
|
-
"description": "",
|
5157
|
+
"description": ":nodoc:",
|
5158
5158
|
"accessibility_docs": null,
|
5159
5159
|
"is_form_component": false,
|
5160
5160
|
"is_published": true,
|
@@ -5194,7 +5194,7 @@
|
|
5194
5194
|
},
|
5195
5195
|
{
|
5196
5196
|
"fully_qualified_name": "Primer::Alpha::NavList::Group",
|
5197
|
-
"description": "",
|
5197
|
+
"description": ":nodoc:",
|
5198
5198
|
"accessibility_docs": null,
|
5199
5199
|
"is_form_component": false,
|
5200
5200
|
"is_published": true,
|
@@ -14157,6 +14157,32 @@
|
|
14157
14157
|
"color-contrast"
|
14158
14158
|
]
|
14159
14159
|
}
|
14160
|
+
},
|
14161
|
+
{
|
14162
|
+
"preview_path": "primer/beta/subhead/large_header",
|
14163
|
+
"name": "large_header",
|
14164
|
+
"snapshot": "false",
|
14165
|
+
"skip_rules": {
|
14166
|
+
"wont_fix": [
|
14167
|
+
"region"
|
14168
|
+
],
|
14169
|
+
"will_fix": [
|
14170
|
+
"color-contrast"
|
14171
|
+
]
|
14172
|
+
}
|
14173
|
+
},
|
14174
|
+
{
|
14175
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
14176
|
+
"name": "medium_header",
|
14177
|
+
"snapshot": "false",
|
14178
|
+
"skip_rules": {
|
14179
|
+
"wont_fix": [
|
14180
|
+
"region"
|
14181
|
+
],
|
14182
|
+
"will_fix": [
|
14183
|
+
"color-contrast"
|
14184
|
+
]
|
14185
|
+
}
|
14160
14186
|
}
|
14161
14187
|
],
|
14162
14188
|
"subcomponents": [
|
package/static/previews.json
CHANGED
@@ -5622,6 +5622,32 @@
|
|
5622
5622
|
"color-contrast"
|
5623
5623
|
]
|
5624
5624
|
}
|
5625
|
+
},
|
5626
|
+
{
|
5627
|
+
"preview_path": "primer/beta/subhead/large_header",
|
5628
|
+
"name": "large_header",
|
5629
|
+
"snapshot": "false",
|
5630
|
+
"skip_rules": {
|
5631
|
+
"wont_fix": [
|
5632
|
+
"region"
|
5633
|
+
],
|
5634
|
+
"will_fix": [
|
5635
|
+
"color-contrast"
|
5636
|
+
]
|
5637
|
+
}
|
5638
|
+
},
|
5639
|
+
{
|
5640
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
5641
|
+
"name": "medium_header",
|
5642
|
+
"snapshot": "false",
|
5643
|
+
"skip_rules": {
|
5644
|
+
"wont_fix": [
|
5645
|
+
"region"
|
5646
|
+
],
|
5647
|
+
"will_fix": [
|
5648
|
+
"color-contrast"
|
5649
|
+
]
|
5650
|
+
}
|
5625
5651
|
}
|
5626
5652
|
]
|
5627
5653
|
},
|