@primer/view-components 0.0.122-rc.d6b85e66 → 0.0.122-rc.fb66ed99
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 +70 -40
- package/static/audited_at.json +1 -0
- package/static/constants.json +2 -0
- package/static/previews.json +218 -40
- package/static/statuses.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.0.122-rc.
|
|
3
|
+
"version": "0.0.122-rc.fb66ed99",
|
|
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
|
@@ -2329,6 +2329,18 @@
|
|
|
2329
2329
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/text_field.rb",
|
|
2330
2330
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/text_field/default/",
|
|
2331
2331
|
"parameters": [
|
|
2332
|
+
{
|
|
2333
|
+
"name": "size",
|
|
2334
|
+
"type": "Symbol",
|
|
2335
|
+
"default": "N/A",
|
|
2336
|
+
"description": "The size of the field. One of `:large`, `:medium`, or `:small`."
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"name": "full_width",
|
|
2340
|
+
"type": "Boolean",
|
|
2341
|
+
"default": "N/A",
|
|
2342
|
+
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container."
|
|
2343
|
+
},
|
|
2332
2344
|
{
|
|
2333
2345
|
"name": "name",
|
|
2334
2346
|
"type": "String",
|
|
@@ -2345,19 +2357,19 @@
|
|
|
2345
2357
|
"name": "class",
|
|
2346
2358
|
"type": "String",
|
|
2347
2359
|
"default": "N/A",
|
|
2348
|
-
"description": "
|
|
2360
|
+
"description": "CSS classes to include in the input's HTML `class` attribute. Exists for compatibility with Rails form builders."
|
|
2349
2361
|
},
|
|
2350
2362
|
{
|
|
2351
2363
|
"name": "classes",
|
|
2352
|
-
"type": "
|
|
2364
|
+
"type": "Array",
|
|
2353
2365
|
"default": "N/A",
|
|
2354
|
-
"description": "
|
|
2366
|
+
"description": "CSS classes to include in the input's HTML `class` attribute. Combined with the `:class` argument. The list may contain strings, hashes, or `nil` values, and is automatically cleaned up by Primer's [`class_name` helper](https://github.com/primer/view_components/blob/c9cb95c98fee3e2e27f4a10683f555e22285e7f1/app/lib/primer/class_name_helper.rb) (`nils`, falsy entries, and blank strings are ignored)."
|
|
2355
2367
|
},
|
|
2356
2368
|
{
|
|
2357
2369
|
"name": "caption",
|
|
2358
2370
|
"type": "String",
|
|
2359
2371
|
"default": "N/A",
|
|
2360
|
-
"description": "
|
|
2372
|
+
"description": "A string describing the field and what sorts of input it expects. Displayed below the input."
|
|
2361
2373
|
},
|
|
2362
2374
|
{
|
|
2363
2375
|
"name": "label",
|
|
@@ -2369,79 +2381,91 @@
|
|
|
2369
2381
|
"name": "visually_hide_label",
|
|
2370
2382
|
"type": "Boolean",
|
|
2371
2383
|
"default": "N/A",
|
|
2372
|
-
"description": "
|
|
2384
|
+
"description": "When set to `true`, hides the label. Although the label will be hidden visually, it will still be visible to screen readers."
|
|
2373
2385
|
},
|
|
2374
2386
|
{
|
|
2375
|
-
"name": "
|
|
2376
|
-
"type": "
|
|
2387
|
+
"name": "disabled",
|
|
2388
|
+
"type": "Boolean",
|
|
2377
2389
|
"default": "N/A",
|
|
2378
|
-
"description": "
|
|
2390
|
+
"description": "When set to `true`, the input will not accept keyboard or mouse input."
|
|
2379
2391
|
},
|
|
2380
2392
|
{
|
|
2381
|
-
"name": "
|
|
2393
|
+
"name": "hidden",
|
|
2382
2394
|
"type": "Boolean",
|
|
2383
2395
|
"default": "N/A",
|
|
2384
|
-
"description": "
|
|
2396
|
+
"description": "When set to `true`, visually hides the field."
|
|
2385
2397
|
},
|
|
2386
2398
|
{
|
|
2387
|
-
"name": "
|
|
2399
|
+
"name": "invalid",
|
|
2400
|
+
"type": "Boolean",
|
|
2401
|
+
"default": "N/A",
|
|
2402
|
+
"description": "If set to `true`, the input will be rendered with a red border. Implied if `validation_message` is truthy. This option is set to `true` automatically if the model object associated with the form reports that the input is invalid via Rails validations. It is provided for cases where the form does not have an associated model. If the input is invalid as determined by Rails validations, setting `invalid` to `false` will have no effect."
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "validation_message",
|
|
2388
2406
|
"type": "String",
|
|
2389
2407
|
"default": "N/A",
|
|
2390
|
-
"description": "
|
|
2408
|
+
"description": "A string displayed between the caption and the input indicating the input's contents are invalid. This option is, by default, set to the first Rails validation message for the input (assuming the form is associated with a model object). Use `validation_message` to override the default or to provide a validation message in case there is no associated model object."
|
|
2391
2409
|
},
|
|
2392
2410
|
{
|
|
2393
|
-
"name": "
|
|
2394
|
-
"type": "
|
|
2411
|
+
"name": "label_arguments",
|
|
2412
|
+
"type": "Hash",
|
|
2395
2413
|
"default": "N/A",
|
|
2396
|
-
"description": "
|
|
2414
|
+
"description": "Attributes that will be passed to Rails' `builder.label` method. These can be HTML attributes or any of the other label options Rails supports. They will appear as HTML attributes on the `<label>` tag."
|
|
2397
2415
|
},
|
|
2398
2416
|
{
|
|
2399
|
-
"name": "
|
|
2417
|
+
"name": "scope_name_to_model",
|
|
2400
2418
|
"type": "Boolean",
|
|
2401
2419
|
"default": "N/A",
|
|
2402
|
-
"description": "
|
|
2420
|
+
"description": "Default `true`. When set to `false`, prevents the model name from prefixing the field name. For example, if the field name is `my_field`, Rails will normally emit an HTML name attribute of `model[my_field]`. Setting `scope_name_to_model` to `false` will cause Rails to emit `my_field` instead."
|
|
2403
2421
|
},
|
|
2404
2422
|
{
|
|
2405
|
-
"name": "
|
|
2423
|
+
"name": "scope_id_to_model",
|
|
2406
2424
|
"type": "Boolean",
|
|
2407
2425
|
"default": "N/A",
|
|
2408
|
-
"description": "
|
|
2426
|
+
"description": "Default `true`. When set to `false`, prevents the model name from prefixing the field ID. For example, if the field name is `my_field`, Rails will normally emit an HTML ID attribute of `model_my_field`. Setting `scope_id_to_model` to `false` will cause Rails to emit `my_field` instead."
|
|
2409
2427
|
},
|
|
2410
2428
|
{
|
|
2411
|
-
"name": "
|
|
2412
|
-
"type": "
|
|
2429
|
+
"name": "required",
|
|
2430
|
+
"type": "Boolean",
|
|
2413
2431
|
"default": "N/A",
|
|
2414
|
-
"description": "
|
|
2432
|
+
"description": "Default `false`. When set to `true`, causes an asterisk (*) to appear next to the field's label indicating it is a required field. Note that this option explicitly does _not_ add a `required` HTML attribute. Doing so would enable native browser validations, which are inaccessible and inconsistent with the Primer design system."
|
|
2415
2433
|
},
|
|
2416
2434
|
{
|
|
2417
|
-
"name": "
|
|
2418
|
-
"type": "
|
|
2435
|
+
"name": "aria",
|
|
2436
|
+
"type": "Hash",
|
|
2419
2437
|
"default": "N/A",
|
|
2420
|
-
"description": "
|
|
2438
|
+
"description": "Key/value pairs that represent Aria attributes and their values. Eg. `aria: { current: true }` becomes `aria-current=\"true\"`."
|
|
2421
2439
|
},
|
|
2422
2440
|
{
|
|
2423
|
-
"name": "
|
|
2424
|
-
"type": "
|
|
2441
|
+
"name": "data",
|
|
2442
|
+
"type": "Hash",
|
|
2425
2443
|
"default": "N/A",
|
|
2426
|
-
"description": "
|
|
2444
|
+
"description": "Key/value pairs that represent data attributes and their values. Eg. `data: { foo: \"bar\" }` becomes `data-foo=\"bar\"`."
|
|
2427
2445
|
},
|
|
2428
2446
|
{
|
|
2429
|
-
"name": "
|
|
2447
|
+
"name": "system_arguments",
|
|
2430
2448
|
"type": "Hash",
|
|
2431
2449
|
"default": "N/A",
|
|
2432
|
-
"description": "
|
|
2450
|
+
"description": "A hash of attributes passed to the underlying Rails builder methods. These options may mean something special depending on the type of input, otherwise they are emitted as HTML attributes. See the [Rails documentation](https://guides.rubyonrails.org/form_helpers.html) for more information. In addition, the usual Primer utility arguments are accepted in system arguments. For example, passing `mt: 2` will add the `mt-2` class to the input. See the Primer system arguments docs for details."
|
|
2433
2451
|
},
|
|
2434
2452
|
{
|
|
2435
|
-
"name": "
|
|
2453
|
+
"name": "placeholder",
|
|
2436
2454
|
"type": "String",
|
|
2437
2455
|
"default": "N/A",
|
|
2438
|
-
"description": "
|
|
2456
|
+
"description": "Placeholder text."
|
|
2439
2457
|
},
|
|
2440
2458
|
{
|
|
2441
|
-
"name": "
|
|
2442
|
-
"type": "
|
|
2459
|
+
"name": "inset",
|
|
2460
|
+
"type": "Boolean",
|
|
2443
2461
|
"default": "N/A",
|
|
2444
|
-
"description": "
|
|
2462
|
+
"description": "If `true`, renders the input in a visually inset state."
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"name": "monospace",
|
|
2466
|
+
"type": "Boolean",
|
|
2467
|
+
"default": "N/A",
|
|
2468
|
+
"description": "If `true`, uses a monospace font for the input field."
|
|
2445
2469
|
},
|
|
2446
2470
|
{
|
|
2447
2471
|
"name": "auto_check_src",
|
|
@@ -2450,16 +2474,22 @@
|
|
|
2450
2474
|
"description": "When provided, makes a request to the given URL whenever the contents of the text field changes. If the server responds with a non-2xx status code, the response body is used as the validation message."
|
|
2451
2475
|
},
|
|
2452
2476
|
{
|
|
2453
|
-
"name": "
|
|
2477
|
+
"name": "leading_visual",
|
|
2454
2478
|
"type": "Hash",
|
|
2455
2479
|
"default": "N/A",
|
|
2456
|
-
"description": "[
|
|
2480
|
+
"description": "Renders a leading visual icon before the text field's cursor. The hash will be passed to Primer's [Octicon](/components/beta/octicon) component."
|
|
2457
2481
|
},
|
|
2458
2482
|
{
|
|
2459
|
-
"name": "
|
|
2460
|
-
"type": "
|
|
2483
|
+
"name": "show_clear_button",
|
|
2484
|
+
"type": "Boolean",
|
|
2461
2485
|
"default": "N/A",
|
|
2462
|
-
"description": "
|
|
2486
|
+
"description": "Whether or not to include a clear button inside the input that clears the input's contents when clicked."
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"name": "clear_button_id",
|
|
2490
|
+
"type": "String",
|
|
2491
|
+
"default": "N/A",
|
|
2492
|
+
"description": "The HTML id attribute of the clear button."
|
|
2463
2493
|
}
|
|
2464
2494
|
]
|
|
2465
2495
|
}
|
package/static/audited_at.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"Primer::Alpha::Dropdown::Menu": "",
|
|
18
18
|
"Primer::Alpha::Dropdown::Menu::Item": "",
|
|
19
19
|
"Primer::Alpha::FormButton": "",
|
|
20
|
+
"Primer::Alpha::FormControl": "",
|
|
20
21
|
"Primer::Alpha::HellipButton": "",
|
|
21
22
|
"Primer::Alpha::HiddenTextExpander": "",
|
|
22
23
|
"Primer::Alpha::Image": "",
|
package/static/constants.json
CHANGED
package/static/previews.json
CHANGED
|
@@ -573,6 +573,48 @@
|
|
|
573
573
|
}
|
|
574
574
|
]
|
|
575
575
|
},
|
|
576
|
+
{
|
|
577
|
+
"name": "check_box",
|
|
578
|
+
"lookup_path": "primer/alpha/check_box",
|
|
579
|
+
"examples": [
|
|
580
|
+
{
|
|
581
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/playground",
|
|
582
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/playground",
|
|
583
|
+
"name": "playground"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/default",
|
|
587
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/default",
|
|
588
|
+
"name": "default"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box/options",
|
|
592
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box/options",
|
|
593
|
+
"name": "options"
|
|
594
|
+
}
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "check_box_group",
|
|
599
|
+
"lookup_path": "primer/alpha/check_box_group",
|
|
600
|
+
"examples": [
|
|
601
|
+
{
|
|
602
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/playground",
|
|
603
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/playground",
|
|
604
|
+
"name": "playground"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/default",
|
|
608
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/default",
|
|
609
|
+
"name": "default"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/check_box_group/options",
|
|
613
|
+
"preview_path": "/lookbook/preview/primer/alpha/check_box_group/options",
|
|
614
|
+
"name": "options"
|
|
615
|
+
}
|
|
616
|
+
]
|
|
617
|
+
},
|
|
576
618
|
{
|
|
577
619
|
"name": "clipboard_copy",
|
|
578
620
|
"lookup_path": "primer/beta/clipboard_copy",
|
|
@@ -780,103 +822,124 @@
|
|
|
780
822
|
}
|
|
781
823
|
]
|
|
782
824
|
},
|
|
825
|
+
{
|
|
826
|
+
"name": "form_control",
|
|
827
|
+
"lookup_path": "primer/alpha/form_control",
|
|
828
|
+
"examples": [
|
|
829
|
+
{
|
|
830
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/playground",
|
|
831
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/playground",
|
|
832
|
+
"name": "playground"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/default",
|
|
836
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/default",
|
|
837
|
+
"name": "default"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/form_control/options",
|
|
841
|
+
"preview_path": "/lookbook/preview/primer/alpha/form_control/options",
|
|
842
|
+
"name": "options"
|
|
843
|
+
}
|
|
844
|
+
]
|
|
845
|
+
},
|
|
783
846
|
{
|
|
784
847
|
"name": "forms",
|
|
785
|
-
"lookup_path": "primer/forms
|
|
848
|
+
"lookup_path": "primer/forms",
|
|
786
849
|
"examples": [
|
|
787
850
|
{
|
|
788
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
789
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
851
|
+
"inspect_path": "/lookbook/inspect/primer/forms/single_text_field_form",
|
|
852
|
+
"preview_path": "/lookbook/preview/primer/forms/single_text_field_form",
|
|
790
853
|
"name": "single_text_field_form"
|
|
791
854
|
},
|
|
792
855
|
{
|
|
793
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
794
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
856
|
+
"inspect_path": "/lookbook/inspect/primer/forms/multi_text_field_form",
|
|
857
|
+
"preview_path": "/lookbook/preview/primer/forms/multi_text_field_form",
|
|
795
858
|
"name": "multi_text_field_form"
|
|
796
859
|
},
|
|
797
860
|
{
|
|
798
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
799
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
861
|
+
"inspect_path": "/lookbook/inspect/primer/forms/text_field_and_checkbox_form",
|
|
862
|
+
"preview_path": "/lookbook/preview/primer/forms/text_field_and_checkbox_form",
|
|
800
863
|
"name": "text_field_and_checkbox_form"
|
|
801
864
|
},
|
|
802
865
|
{
|
|
803
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
804
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
866
|
+
"inspect_path": "/lookbook/inspect/primer/forms/horizontal_form",
|
|
867
|
+
"preview_path": "/lookbook/preview/primer/forms/horizontal_form",
|
|
805
868
|
"name": "horizontal_form"
|
|
806
869
|
},
|
|
807
870
|
{
|
|
808
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
809
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
871
|
+
"inspect_path": "/lookbook/inspect/primer/forms/composed_form",
|
|
872
|
+
"preview_path": "/lookbook/preview/primer/forms/composed_form",
|
|
810
873
|
"name": "composed_form"
|
|
811
874
|
},
|
|
812
875
|
{
|
|
813
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
814
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
876
|
+
"inspect_path": "/lookbook/inspect/primer/forms/submit_button_form",
|
|
877
|
+
"preview_path": "/lookbook/preview/primer/forms/submit_button_form",
|
|
815
878
|
"name": "submit_button_form"
|
|
816
879
|
},
|
|
817
880
|
{
|
|
818
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
819
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
881
|
+
"inspect_path": "/lookbook/inspect/primer/forms/radio_button_group_form",
|
|
882
|
+
"preview_path": "/lookbook/preview/primer/forms/radio_button_group_form",
|
|
820
883
|
"name": "radio_button_group_form"
|
|
821
884
|
},
|
|
822
885
|
{
|
|
823
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
824
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
886
|
+
"inspect_path": "/lookbook/inspect/primer/forms/check_box_group_form",
|
|
887
|
+
"preview_path": "/lookbook/preview/primer/forms/check_box_group_form",
|
|
825
888
|
"name": "check_box_group_form"
|
|
826
889
|
},
|
|
827
890
|
{
|
|
828
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
829
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
891
|
+
"inspect_path": "/lookbook/inspect/primer/forms/array_check_box_group_form",
|
|
892
|
+
"preview_path": "/lookbook/preview/primer/forms/array_check_box_group_form",
|
|
830
893
|
"name": "array_check_box_group_form"
|
|
831
894
|
},
|
|
832
895
|
{
|
|
833
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
834
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
835
|
-
"name": "
|
|
896
|
+
"inspect_path": "/lookbook/inspect/primer/forms/select_form",
|
|
897
|
+
"preview_path": "/lookbook/preview/primer/forms/select_form",
|
|
898
|
+
"name": "select_form"
|
|
836
899
|
},
|
|
837
900
|
{
|
|
838
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
839
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
901
|
+
"inspect_path": "/lookbook/inspect/primer/forms/radio_button_with_nested_form",
|
|
902
|
+
"preview_path": "/lookbook/preview/primer/forms/radio_button_with_nested_form",
|
|
840
903
|
"name": "radio_button_with_nested_form"
|
|
841
904
|
},
|
|
842
905
|
{
|
|
843
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
844
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
906
|
+
"inspect_path": "/lookbook/inspect/primer/forms/check_box_with_nested_form",
|
|
907
|
+
"preview_path": "/lookbook/preview/primer/forms/check_box_with_nested_form",
|
|
845
908
|
"name": "check_box_with_nested_form"
|
|
846
909
|
},
|
|
847
910
|
{
|
|
848
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
849
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
911
|
+
"inspect_path": "/lookbook/inspect/primer/forms/caption_template_form",
|
|
912
|
+
"preview_path": "/lookbook/preview/primer/forms/caption_template_form",
|
|
850
913
|
"name": "caption_template_form"
|
|
851
914
|
},
|
|
852
915
|
{
|
|
853
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
854
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
916
|
+
"inspect_path": "/lookbook/inspect/primer/forms/after_content_form",
|
|
917
|
+
"preview_path": "/lookbook/preview/primer/forms/after_content_form",
|
|
855
918
|
"name": "after_content_form"
|
|
856
919
|
},
|
|
857
920
|
{
|
|
858
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
859
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
921
|
+
"inspect_path": "/lookbook/inspect/primer/forms/invalid_form",
|
|
922
|
+
"preview_path": "/lookbook/preview/primer/forms/invalid_form",
|
|
860
923
|
"name": "invalid_form"
|
|
861
924
|
},
|
|
862
925
|
{
|
|
863
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
864
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
926
|
+
"inspect_path": "/lookbook/inspect/primer/forms/multi_input_form",
|
|
927
|
+
"preview_path": "/lookbook/preview/primer/forms/multi_input_form",
|
|
865
928
|
"name": "multi_input_form"
|
|
866
929
|
},
|
|
867
930
|
{
|
|
868
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
869
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
931
|
+
"inspect_path": "/lookbook/inspect/primer/forms/name_with_question_mark_form",
|
|
932
|
+
"preview_path": "/lookbook/preview/primer/forms/name_with_question_mark_form",
|
|
870
933
|
"name": "name_with_question_mark_form"
|
|
871
934
|
},
|
|
872
935
|
{
|
|
873
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
874
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
936
|
+
"inspect_path": "/lookbook/inspect/primer/forms/immediate_validation_form",
|
|
937
|
+
"preview_path": "/lookbook/preview/primer/forms/immediate_validation_form",
|
|
875
938
|
"name": "immediate_validation_form"
|
|
876
939
|
},
|
|
877
940
|
{
|
|
878
|
-
"inspect_path": "/lookbook/inspect/primer/forms/
|
|
879
|
-
"preview_path": "/lookbook/preview/primer/forms/
|
|
941
|
+
"inspect_path": "/lookbook/inspect/primer/forms/example_toggle_switch_form",
|
|
942
|
+
"preview_path": "/lookbook/preview/primer/forms/example_toggle_switch_form",
|
|
880
943
|
"name": "example_toggle_switch_form"
|
|
881
944
|
}
|
|
882
945
|
]
|
|
@@ -1127,6 +1190,37 @@
|
|
|
1127
1190
|
}
|
|
1128
1191
|
]
|
|
1129
1192
|
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "multi_input",
|
|
1195
|
+
"lookup_path": "primer/alpha/multi_input",
|
|
1196
|
+
"examples": [
|
|
1197
|
+
{
|
|
1198
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/playground",
|
|
1199
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/playground",
|
|
1200
|
+
"name": "playground"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/default",
|
|
1204
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/default",
|
|
1205
|
+
"name": "default"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/with_caption",
|
|
1209
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/with_caption",
|
|
1210
|
+
"name": "with_caption"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/visually_hide_label",
|
|
1214
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/visually_hide_label",
|
|
1215
|
+
"name": "visually_hide_label"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/multi_input/disabled",
|
|
1219
|
+
"preview_path": "/lookbook/preview/primer/alpha/multi_input/disabled",
|
|
1220
|
+
"name": "disabled"
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1130
1224
|
{
|
|
1131
1225
|
"name": "nav_list",
|
|
1132
1226
|
"lookup_path": "primer/alpha/nav_list",
|
|
@@ -1216,6 +1310,48 @@
|
|
|
1216
1310
|
}
|
|
1217
1311
|
]
|
|
1218
1312
|
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "radio_button",
|
|
1315
|
+
"lookup_path": "primer/alpha/radio_button",
|
|
1316
|
+
"examples": [
|
|
1317
|
+
{
|
|
1318
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/playground",
|
|
1319
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/playground",
|
|
1320
|
+
"name": "playground"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/default",
|
|
1324
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/default",
|
|
1325
|
+
"name": "default"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button/options",
|
|
1329
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button/options",
|
|
1330
|
+
"name": "options"
|
|
1331
|
+
}
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "radio_button_group",
|
|
1336
|
+
"lookup_path": "primer/alpha/radio_button_group",
|
|
1337
|
+
"examples": [
|
|
1338
|
+
{
|
|
1339
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/playground",
|
|
1340
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/playground",
|
|
1341
|
+
"name": "playground"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/default",
|
|
1345
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/default",
|
|
1346
|
+
"name": "default"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/radio_button_group/options",
|
|
1350
|
+
"preview_path": "/lookbook/preview/primer/alpha/radio_button_group/options",
|
|
1351
|
+
"name": "options"
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1219
1355
|
{
|
|
1220
1356
|
"name": "relative_time",
|
|
1221
1357
|
"lookup_path": "primer/beta/relative_time",
|
|
@@ -1288,6 +1424,27 @@
|
|
|
1288
1424
|
}
|
|
1289
1425
|
]
|
|
1290
1426
|
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "select",
|
|
1429
|
+
"lookup_path": "primer/alpha/select",
|
|
1430
|
+
"examples": [
|
|
1431
|
+
{
|
|
1432
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/playground",
|
|
1433
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/playground",
|
|
1434
|
+
"name": "playground"
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/default",
|
|
1438
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/default",
|
|
1439
|
+
"name": "default"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/select/options",
|
|
1443
|
+
"preview_path": "/lookbook/preview/primer/alpha/select/options",
|
|
1444
|
+
"name": "options"
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1291
1448
|
{
|
|
1292
1449
|
"name": "spinner",
|
|
1293
1450
|
"lookup_path": "primer/beta/spinner",
|
|
@@ -1414,6 +1571,27 @@
|
|
|
1414
1571
|
}
|
|
1415
1572
|
]
|
|
1416
1573
|
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "text_area",
|
|
1576
|
+
"lookup_path": "primer/alpha/text_area",
|
|
1577
|
+
"examples": [
|
|
1578
|
+
{
|
|
1579
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/playground",
|
|
1580
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/playground",
|
|
1581
|
+
"name": "playground"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/default",
|
|
1585
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/default",
|
|
1586
|
+
"name": "default"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"inspect_path": "/lookbook/inspect/primer/alpha/text_area/options",
|
|
1590
|
+
"preview_path": "/lookbook/preview/primer/alpha/text_area/options",
|
|
1591
|
+
"name": "options"
|
|
1592
|
+
}
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1417
1595
|
{
|
|
1418
1596
|
"name": "text_field",
|
|
1419
1597
|
"lookup_path": "primer/alpha/text_field",
|
package/static/statuses.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"Primer::Alpha::Dropdown::Menu": "alpha",
|
|
18
18
|
"Primer::Alpha::Dropdown::Menu::Item": "alpha",
|
|
19
19
|
"Primer::Alpha::FormButton": "alpha",
|
|
20
|
+
"Primer::Alpha::FormControl": "alpha",
|
|
20
21
|
"Primer::Alpha::HellipButton": "alpha",
|
|
21
22
|
"Primer::Alpha::HiddenTextExpander": "alpha",
|
|
22
23
|
"Primer::Alpha::Image": "alpha",
|