@primer/view-components 0.1.6-rc.fbd3190c → 0.1.7-rc.09a936e0
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/info_arch.json +40 -6
- package/static/previews.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7-rc.09a936e0",
|
|
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
|
@@ -263,6 +263,12 @@
|
|
|
263
263
|
"default": "`:outside_bottom`",
|
|
264
264
|
"description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`.."
|
|
265
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"name": "size",
|
|
268
|
+
"type": "Symbol",
|
|
269
|
+
"default": "`:auto`",
|
|
270
|
+
"description": "One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`.."
|
|
271
|
+
},
|
|
266
272
|
{
|
|
267
273
|
"name": "src",
|
|
268
274
|
"type": "String",
|
package/static/info_arch.json
CHANGED
|
@@ -583,6 +583,12 @@
|
|
|
583
583
|
"default": "`:outside_bottom`",
|
|
584
584
|
"description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`.."
|
|
585
585
|
},
|
|
586
|
+
{
|
|
587
|
+
"name": "size",
|
|
588
|
+
"type": "Symbol",
|
|
589
|
+
"default": "`:auto`",
|
|
590
|
+
"description": "One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`.."
|
|
591
|
+
},
|
|
586
592
|
{
|
|
587
593
|
"name": "src",
|
|
588
594
|
"type": "String",
|
|
@@ -647,13 +653,13 @@
|
|
|
647
653
|
},
|
|
648
654
|
{
|
|
649
655
|
"name": "with_show_button",
|
|
650
|
-
"description": "Button to activate the menu.
|
|
656
|
+
"description": "Button to activate the menu.",
|
|
651
657
|
"parameters": [
|
|
652
658
|
{
|
|
653
|
-
"name": "
|
|
654
|
-
"type": "
|
|
659
|
+
"name": "system_arguments",
|
|
660
|
+
"type": "Hash",
|
|
655
661
|
"default": "N/A",
|
|
656
|
-
"description": "
|
|
662
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::Overlay{{/link_to_component}}'s `show_button` slot."
|
|
657
663
|
}
|
|
658
664
|
]
|
|
659
665
|
},
|
|
@@ -705,6 +711,11 @@
|
|
|
705
711
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/default",
|
|
706
712
|
"name": "default"
|
|
707
713
|
},
|
|
714
|
+
{
|
|
715
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/wide",
|
|
716
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/wide",
|
|
717
|
+
"name": "wide"
|
|
718
|
+
},
|
|
708
719
|
{
|
|
709
720
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_icon_button",
|
|
710
721
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_icon_button",
|
|
@@ -775,6 +786,11 @@
|
|
|
775
786
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/block_description",
|
|
776
787
|
"name": "block_description"
|
|
777
788
|
},
|
|
789
|
+
{
|
|
790
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/submitting_forms",
|
|
791
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/submitting_forms",
|
|
792
|
+
"name": "submitting_forms"
|
|
793
|
+
},
|
|
778
794
|
{
|
|
779
795
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/inline_description",
|
|
780
796
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/inline_description",
|
|
@@ -3352,10 +3368,22 @@
|
|
|
3352
3368
|
"description": "Optional button to open the Overlay.",
|
|
3353
3369
|
"parameters": [
|
|
3354
3370
|
{
|
|
3355
|
-
"name": "
|
|
3371
|
+
"name": "icon",
|
|
3372
|
+
"type": "String",
|
|
3373
|
+
"default": "N/A",
|
|
3374
|
+
"description": "Name of {{link_to_octicons}} to use instead of text. If provided, a {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} will be rendered. Otherwise a {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} will be rendered."
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
"name": "controls",
|
|
3378
|
+
"type": "String",
|
|
3379
|
+
"default": "N/A",
|
|
3380
|
+
"description": "The ID of the menu this button controls. Used internally."
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"name": "button_arguments",
|
|
3356
3384
|
"type": "Hash",
|
|
3357
3385
|
"default": "N/A",
|
|
3358
|
-
"description": "The
|
|
3386
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} or {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} depending on the presence of the `icon:` argument."
|
|
3359
3387
|
}
|
|
3360
3388
|
]
|
|
3361
3389
|
},
|
|
@@ -3369,6 +3397,12 @@
|
|
|
3369
3397
|
"default": "N/A",
|
|
3370
3398
|
"description": "Show a divider between the header and body."
|
|
3371
3399
|
},
|
|
3400
|
+
{
|
|
3401
|
+
"name": "size",
|
|
3402
|
+
"type": "Symbol",
|
|
3403
|
+
"default": "N/A",
|
|
3404
|
+
"description": "One of One of `:auto`, `:large`, `:medium`, `:medium_portrait`, `:small`, or `:xlarge`.."
|
|
3405
|
+
},
|
|
3372
3406
|
{
|
|
3373
3407
|
"name": "visually_hide_title",
|
|
3374
3408
|
"type": "Boolean",
|
package/static/previews.json
CHANGED
|
@@ -133,6 +133,11 @@
|
|
|
133
133
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/default",
|
|
134
134
|
"name": "default"
|
|
135
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/wide",
|
|
138
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/wide",
|
|
139
|
+
"name": "wide"
|
|
140
|
+
},
|
|
136
141
|
{
|
|
137
142
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/with_icon_button",
|
|
138
143
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/with_icon_button",
|
|
@@ -203,6 +208,11 @@
|
|
|
203
208
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/block_description",
|
|
204
209
|
"name": "block_description"
|
|
205
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/submitting_forms",
|
|
213
|
+
"preview_path": "/lookbook/preview/primer/alpha/action_menu/submitting_forms",
|
|
214
|
+
"name": "submitting_forms"
|
|
215
|
+
},
|
|
206
216
|
{
|
|
207
217
|
"inspect_path": "/lookbook/inspect/primer/alpha/action_menu/inline_description",
|
|
208
218
|
"preview_path": "/lookbook/preview/primer/alpha/action_menu/inline_description",
|