@primer/view-components 0.17.0-rc.e1788977 → 0.17.0
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 +1 -1
- package/static/arguments.json +6 -0
- package/static/constants.json +6 -1
- package/static/info_arch.json +19 -0
- package/static/previews.json +13 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.17.0
|
3
|
+
"version": "0.17.0",
|
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",
|
package/static/arguments.json
CHANGED
@@ -610,6 +610,12 @@
|
|
610
610
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb",
|
611
611
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/",
|
612
612
|
"parameters": [
|
613
|
+
{
|
614
|
+
"name": "tag",
|
615
|
+
"type": "Symbol",
|
616
|
+
"default": "`:div`",
|
617
|
+
"description": "One of `:div` or `:section`."
|
618
|
+
},
|
613
619
|
{
|
614
620
|
"name": "full",
|
615
621
|
"type": "Boolean",
|
package/static/constants.json
CHANGED
@@ -164,6 +164,7 @@
|
|
164
164
|
"success": "check-circle"
|
165
165
|
},
|
166
166
|
"DEFAULT_SCHEME": "default",
|
167
|
+
"DEFAULT_TAG": "div",
|
167
168
|
"DISMISS_SCHEMES": [
|
168
169
|
"none",
|
169
170
|
"remove",
|
@@ -180,7 +181,11 @@
|
|
180
181
|
"warning": "Banner--warning",
|
181
182
|
"danger": "Banner--error",
|
182
183
|
"success": "Banner--success"
|
183
|
-
}
|
184
|
+
},
|
185
|
+
"TAG_OPTIONS": [
|
186
|
+
"div",
|
187
|
+
"section"
|
188
|
+
]
|
184
189
|
},
|
185
190
|
"Primer::Alpha::ButtonMarketing": {
|
186
191
|
"DEFAULT_SCHEME": "default",
|
package/static/info_arch.json
CHANGED
@@ -2243,6 +2243,12 @@
|
|
2243
2243
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb",
|
2244
2244
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/",
|
2245
2245
|
"parameters": [
|
2246
|
+
{
|
2247
|
+
"name": "tag",
|
2248
|
+
"type": "Symbol",
|
2249
|
+
"default": "`:div`",
|
2250
|
+
"description": "One of `:div` or `:section`."
|
2251
|
+
},
|
2246
2252
|
{
|
2247
2253
|
"name": "full",
|
2248
2254
|
"type": "Boolean",
|
@@ -3356,6 +3362,19 @@
|
|
3356
3362
|
"color-contrast"
|
3357
3363
|
]
|
3358
3364
|
}
|
3365
|
+
},
|
3366
|
+
{
|
3367
|
+
"preview_path": "primer/alpha/dialog/scroll_container",
|
3368
|
+
"name": "scroll_container",
|
3369
|
+
"snapshot": "interactive",
|
3370
|
+
"skip_rules": {
|
3371
|
+
"wont_fix": [
|
3372
|
+
"region"
|
3373
|
+
],
|
3374
|
+
"will_fix": [
|
3375
|
+
"color-contrast"
|
3376
|
+
]
|
3377
|
+
}
|
3359
3378
|
}
|
3360
3379
|
],
|
3361
3380
|
"subcomponents": [
|
package/static/previews.json
CHANGED
@@ -3126,6 +3126,19 @@
|
|
3126
3126
|
"color-contrast"
|
3127
3127
|
]
|
3128
3128
|
}
|
3129
|
+
},
|
3130
|
+
{
|
3131
|
+
"preview_path": "primer/alpha/dialog/scroll_container",
|
3132
|
+
"name": "scroll_container",
|
3133
|
+
"snapshot": "interactive",
|
3134
|
+
"skip_rules": {
|
3135
|
+
"wont_fix": [
|
3136
|
+
"region"
|
3137
|
+
],
|
3138
|
+
"will_fix": [
|
3139
|
+
"color-contrast"
|
3140
|
+
]
|
3141
|
+
}
|
3129
3142
|
}
|
3130
3143
|
]
|
3131
3144
|
},
|